Browse code

Updated license

Jaidyn Levesque authored on 2019-11-11 15:51:34
Showing 4 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+Redistribution and use in source and binary forms, with or without
2
+modification, are permitted provided that the following conditions are met:
3
+
4
+1. Redistributions of source code must retain the above copyright notice, this
5
+   list of conditions and the following disclaimer.
6
+2. Redistributions in binary form must reproduce the above copyright notice,
7
+   this list of conditions and the following disclaimer in the documentation
8
+   and/or other materials provided with the distribution.
9
+3. Neither the name of the copyright holder nor the names of its contributors
10
+   may be used to endorse or promote products derived from this software
11
+   without specific prior written permission.
12
+
13
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
17
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
... ...
@@ -6,20 +6,18 @@ Sometimes, it's just annoying and time-draining to deal with all of the
6 6
 intricacies of :usockets— facilservil abstracts away all of those bits.
7 7
 
8 8
 
9
+————————————————————————————————————————
9 10
 FEATURES
10
-
11
+————————————————————————————————————————
11 12
  * Multi-threaded
12 13
  * Input-handling
13 14
  * Logging system
14 15
  * UTF-8
15 16
 
16 17
 
18
+————————————————————————————————————————
17 19
 DEMONSTRATION
18
-
20
+————————————————————————————————————————
19 21
 Load up Facilservil, then run this in your repl:
20 22
     
21 23
        (facilservil:ex-server "localhost" 8888)
... ...
@@ -48,11 +46,9 @@ input), look at QOTDD (https://git.eunichx.us/qotdd).
48 46
 For a more comprehensive guide to Facilservil, look to USAGE, coming right up.
49 47
 
50 48
 
51
-
49
+————————————————————————————————————————
52 50
 USAGE
53
-
51
+————————————————————————————————————————
54 52
 To use Facilservil, just use the `facilservil:server` function somewhere.
55 53
 
56 54
 "host" and "port" are, obviously, the host-IP and port, respectively.
... ...
@@ -79,10 +75,10 @@ whatever you need). You can store/set a variable with #'bury, and retrieve with
79 75
 #'dig.
80 76
 
81 77
 
82
-
78
+————————————————————————————————————————
83 79
 BORING STUFF
84
-Based on Trout's server.
80
+————————————————————————————————————————
81
+Based on Sergey's gist <sergey@polzunov.com>
85 82
 Author is Jaidyn Ann <jadedctrl@teknik.io>
83
+License is BSD 3-Clause “New”, see COPYING.txt
86 84
 Sauce is at https://git.eunichx.us/facilservil.git
... ...
@@ -1,5 +1,6 @@
1 1
 (defsystem "facilservil"
2 2
   :version "1.0"
3
+  :license "BSD 3-Clause"
3 4
   :author "Jaidyn Lev <jadedctrl@teknik.io>"
4 5
   :depends-on ("usocket" "flexi-streams" "bordeaux-threads")
5 6
   :components ((:file "facilservil"))
... ...
@@ -1,11 +1,10 @@
1 1
 ;; facilservil.lisp
2
-;; A simple lib for making a TCP server.
3
-;; Based on a server by Trout,
2
+;; Based on a server by Traut,
4 3
 ;; https://gist.github.com/traut/6bf71d0da54493e6f22eb3d00671f2a9
5 4
 ;; which is in turn inspired by
6
-; https://gist.github.com/shortsightedsid/71cf34282dfae0dd2528
7
-; https://gist.github.com/shortsightedsid/a760e0d83a9557aaffcc
8
-; http://mihai.bazon.net/blog/howto-multi-threaded-tcp-server-in-common-lisp
5
+;; https://gist.github.com/shortsightedsid/71cf34282dfae0dd2528
6
+;; https://gist.github.com/shortsightedsid/a760e0d83a9557aaffcc
7
+;; http://mihai.bazon.net/blog/howto-multi-threaded-tcp-server-in-common-lisp
9 8
 
10 9
 (defpackage :facilservil
11 10
   (:use :cl)