Commit b0ab5bb59404d03ee73d9360eee33db84f8d2f8d

Thomas de Grivel 2022-12-04T18:50:53

cl-unix-cybernetics

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
diff --git a/Makefile b/Makefile
index 4c339b4..e7908c9 100644
--- a/Makefile
+++ b/Makefile
@@ -18,11 +18,11 @@ all: ${PROGRAM}
 deps:
 	LANG=C.UTF-8 ${LISP_LOAD} prepare-build.lisp --quit
 
-build/systems.lisp: prepare-build.lisp adams.asd
+build/systems.lisp: prepare-build.lisp cl-unix-cybernetics.asd
 	LANG=C.UTF-8 ${LISP_LOAD} prepare-build.lisp --quit
 
 ${PROGRAM}: build.lisp config.lisp build/systems.lisp toplevel.lisp
-	LANG=C.UTF-8 ${LISP_LOAD} build.lisp --eval '(build "${PROGRAM}")' --quit
+	LANG=C.UTF-8 ${LISP_LOAD} build.lisp --eval '(build #P"${PROGRAM}")' --quit
 
 install:
 	install -m 0755 ${PROGRAM} ${PREFIX}/bin
diff --git a/README.md b/README.md
index 846f01e..2cc4d7a 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,21 @@
-Adams 0.3.2
-===========
+cl-unix-cybernetics 0.3.3
+=========================
 
-Adams is a UNIX system administration tool written in Common Lisp.
+UNIX cybernetics in Common Lisp.
 
 You describe your systems (hosts) using resources having properties.
 
-The properties are then probed and synchronized by Adams using only
+The properties are then probed and synchronized using only
 `/bin/sh` on the remote host, and `/usr/bin/ssh` on the control host.
 
 
 Current status
 --------------
 
-Adams is currently able to use a local shell or connect to remote hosts
-via ssh.
+There is support for local shell and connection to remote hosts via ssh.
 
-Adams is this hardcore hacker using only `/bin/sh` commands.
-This makes `ksh` and `bash` suitable shells for adams as they are
-compatible with `/bin/sh`.
+Using only `/bin/sh` commands makes `ksh` and `bash` suitable shells as
+they are compatible with `/bin/sh`.
 
 Supported resource types :
  - Host (hostname)
@@ -31,16 +29,16 @@ Supported resource types :
 Security design
 ---------------
 
-You should only allow Adams what you would allow your system operators :
+You should only allow what you would allow your system operators :
   - a shell accessible through SSH using a public key
   - apropriate sudo permissions
 
 All commands issued to the remote hosts can be logged.
 
-Adams does not grant the hosts access to its workstation while it works.
-Adams does not grant access to data belonging to any host.
-Adams does not send any data that is not of direct concern to the host.
-In short, all UNIX permissions are respected, Adams is a regular UNIX user.
+Does not grant the hosts access to its workstation while it works.
+Does not grant access to data belonging to any host.
+Does not send any data that is not of direct concern to the host.
+In short, all UNIX permissions are respected.
 
 
 Usage
@@ -50,44 +48,35 @@ Usage
 ### 1. Install [repo](https://github.com/common-lisp-repo/repo).
 
 
-### 2. Fetch adams sources.
+### 2. Fetch sources.
 
 ``` shell
-  $ sbcl --eval '(repo:install :adams)'
+  $ sbcl --eval '(repo:install :cl-unix-cybernetics)'
 ```
 
 
-### 3. Build and install the `adams` binary
+### 3. Build and install the `cl-unix-cybernetics` binary
 
 ``` shell
-  $ cd ~/common-lisp/cl-adams/adams
+  $ cd ~/common-lisp/thodg/cl-unix-cybernetics
   $ make
-  $ sudo cp build/adams /usr/local/bin/adams
+  $ sudo cp build/cl-unix-cybernetics /usr/local/bin/
 ```
 
 
-### 4. Configure emacs (optional)
+### 4. Write some resources in a `.lisp` script
 
-In your `~/.emacs` file :
-``` emacs-lisp
-  ;;  Adams
-  (add-to-list 'auto-mode-alist '("\\.adams\\'" . lisp-mode))
-```
-
-
-### 5. Write some resources in a `.adams` script
-
-In the `tutorial.adams` file :
+In the `tutorial.lisp` file :
 ``` common-lisp
-  #!/usr/local/bin/adams --script
+  #!/usr/local/bin/cl-unix-cybernetics --script
 
-  (resource 'host "adams.kmx.io"
-            :user "adams"
-            (resource 'user "adams"
+  (resource 'host "example.kmx.io"
+            :user "sysadm"
+            (resource 'user "sysadm"
                       :shell "/bin/sh"
                       :ensure :present))
 
-  (with-host "adams.kmx.io"
+  (with-host "example.kmx.io"
     (sync *host*))
 ```
 
@@ -95,17 +84,17 @@ In the `tutorial.adams` file :
 ### 6. Profit.
 
 ``` shell
-  $ chmod 755 tutorial.adams
-  $ ./tutorial.adams
+  $ chmod 755 tutorial.lisp
+  $ ./tutorial.lisp
 ```
 
-The `tutorial.adams` script will synchronize the host "adams.kmx.io"
+The `tutorial.lisp` script will synchronize the host "example.kmx.io"
 according to the resource specifications given in the file.
 
 
 ### 7. DRY up your scripts using `#.(include "file")`
 
-In the `user/dx.adams` file :
+In the `user/dx.lisp` file :
 ``` common-lisp
   ;; Thomas de Grivel (kmx.io)
   (resource 'group "dx"
@@ -120,20 +109,27 @@ In the `user/dx.adams` file :
 
 In your main script :
 ``` common-lisp
-  #!/usr/local/bin/adams --script
+  #!/usr/local/bin/cl-unix-cybernetics --script
 
-  (resource 'host "adams.kmx.io"
-            :user "adams"
-            (resource 'user "adams"
+  (resource 'host "example.kmx.io"
+            :user "admin"
+            (resource 'user "admin"
                       :shell "/bin/sh"
                       :ensure :present)
             #.(include "user/dx"))
 
-  (with-host "adams.kmx.io"
+  (with-host "example.kmx.io"
     (sync *host*))
 ```
 
 
+History
+-------
+
+This project used to be named "Adams".
+It was renamed in 2022 to "cl-unix-cybernetics".
+
+
 [License](LICENSE.md)
 ---------------------
 
diff --git a/build.lisp b/build.lisp
index 5f38baf..d703ded 100644
--- a/build.lisp
+++ b/build.lisp
@@ -1,5 +1,15 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
 (in-package :common-lisp-user)
 
diff --git a/cl-unix-cybernetics.asd b/cl-unix-cybernetics.asd
index 998cc94..67f7d35 100644
--- a/cl-unix-cybernetics.asd
+++ b/cl-unix-cybernetics.asd
@@ -1,5 +1,15 @@
 ;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
 (defpackage :cl-unix-cybernetics.system
   (:use :cl :asdf))
@@ -9,7 +19,7 @@
 (defsystem :cl-unix-cybernetics
   :name "cl-unix-cybernetics"
   :author "Thomas de Grivel <thodg@kmx.io>"
-  :version "0.1"
+  :version "0.3.3"
   :description "UNIX cybernetics in Common Lisp"
   :depends-on ("alexandria"
 	       "chronicity"
diff --git a/config.lisp b/config.lisp
index c039f50..291dfcc 100644
--- a/config.lisp
+++ b/config.lisp
@@ -1,4 +1,14 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
 (declaim (optimize (debug 3) (safety 3) (speed 3)))
diff --git a/core/defs.lisp b/core/defs.lisp
index d2123a1..d8335c9 100644
--- a/core/defs.lisp
+++ b/core/defs.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Misc
 
@@ -132,16 +142,16 @@
 	      :reader resource-registry))
   (:metaclass resource-class))
 
-(defvar *adams*
-  (make-instance 'resource-container :id "Adams"))
+(defvar *cl-unix-cybernetics*
+  (make-instance 'resource-container :id "cl-unix-cybernetics"))
 
 (defvar *parent-resource*
-  *adams*)
+  *cl-unix-cybernetics*)
 
 (defgeneric clear-resources% (resource-container))
 
 (defmacro with-parent-resource (resource &body body)
-  `(let ((*parent-resource* ,(or resource '*adams*)))
+  `(let ((*parent-resource* ,(or resource '*cl-unix-cybernetics*)))
      ,@body))
 
 (defgeneric resource-before-p (r1 r2))
diff --git a/core/helpers.lisp b/core/helpers.lisp
index 8955517..1eb55ca 100644
--- a/core/helpers.lisp
+++ b/core/helpers.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 (defun read-file (&rest path-parts)
   (let ((path (str path-parts)))
diff --git a/core/host.lisp b/core/host.lisp
index 5a17214..46af344 100644
--- a/core/host.lisp
+++ b/core/host.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 (defun run (&rest command)
   "Run a command at the current host. COMMAND is assembled using STR."
diff --git a/core/include.lisp b/core/include.lisp
index da6142a..77454e1 100644
--- a/core/include.lisp
+++ b/core/include.lisp
@@ -1,14 +1,24 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 (defun include/resolve-filename (spec)
   (flet ((try (&rest parts)
            (let ((path (str parts)))
              (when (probe-file path)
                (return-from include/resolve-filename path)))))
-    (try spec ".adams")
+    (try spec ".cl-unix-cybernetics")
     (try spec)))
 
 (defun include/resolve-filename! (spec)
diff --git a/core/operation.lisp b/core/operation.lisp
index 76e4ead..5773017 100644
--- a/core/operation.lisp
+++ b/core/operation.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Operation methods
 
diff --git a/core/os.lisp b/core/os.lisp
index 0ffdace..fac96dd 100644
--- a/core/os.lisp
+++ b/core/os.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 (defmethod print-object ((os os) stream)
   (print-unreadable-object (os stream :type t :identity (not *print-pretty*))
diff --git a/core/probe.lisp b/core/probe.lisp
index c9fc2be..c5b064f 100644
--- a/core/probe.lisp
+++ b/core/probe.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Probe methods
 
diff --git a/core/properties.lisp b/core/properties.lisp
index d97f345..d1f36c1 100644
--- a/core/properties.lisp
+++ b/core/properties.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 ;;  Properties implemented as property lists
 
diff --git a/core/resource-container.lisp b/core/resource-container.lisp
index 43636f4..0d5c5b9 100644
--- a/core/resource-container.lisp
+++ b/core/resource-container.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Resource registry
 
diff --git a/core/resource.lisp b/core/resource.lisp
index a07c641..66b2a8b 100644
--- a/core/resource.lisp
+++ b/core/resource.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Resource metaclass
 
diff --git a/core/spec.lisp b/core/spec.lisp
index 13a2853..f30661d 100644
--- a/core/spec.lisp
+++ b/core/spec.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Specified properties, what all specifications amount to.
 
diff --git a/core/syntaxes.lisp b/core/syntaxes.lisp
index 8b8d6b4..55f6643 100644
--- a/core/syntaxes.lisp
+++ b/core/syntaxes.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/package.lisp b/package.lisp
index efca103..98b7401 100644
--- a/package.lisp
+++ b/package.lisp
@@ -1,9 +1,19 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
 (in-package :cl-user)
 
-(defpackage :adams
+(defpackage :cl-unix-cybernetics
   (:use
    :alexandria
    :common-lisp
@@ -13,7 +23,7 @@
    :str)
   (:shadow #:directory #:get-properties)
   (:export
-   #:*adams*
+   #:*cl-unix-cybernetics*
    #:*host*
    ;;  Shell
    #:*default-shell-command*
@@ -147,8 +157,8 @@
    #:str
    ))
 
-(defpackage :adams-user
-  (:use :adams :cl :cl-debug :re)
-  (:shadowing-import-from :adams #:directory))
+(defpackage :cl-unix-cybernetics-user
+  (:use :cl-unix-cybernetics :cl :cl-debug :re)
+  (:shadowing-import-from :cl-unix-cybernetics #:directory))
 
-(setf (symbol-function 'adams::directory) #'cl:directory)
+(setf (symbol-function 'cl-unix-cybernetics::directory) #'cl:directory)
diff --git a/prepare-build.lisp b/prepare-build.lisp
index 3c8234a..a5bcf0f 100644
--- a/prepare-build.lisp
+++ b/prepare-build.lisp
@@ -1,5 +1,15 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
 (in-package :common-lisp-user)
 
@@ -26,7 +36,7 @@
     (pathname (namestring x))
     (string x)))
 
-(defparameter *dir* (namestring* (system-file :adams "")))
+(defparameter *dir* (namestring* (system-file :cl-unix-cybernetics "")))
 
 (defgeneric collect-sources (x))
 
@@ -77,13 +87,13 @@
         dir)))
 
 (defun dependency-path (src)
-  (let* ((adams-dir *dir*)
+  (let* ((cl-unix-cybernetics-dir *dir*)
          (path (pathname src))
          (dir (pathname-directory path))
          (name (pathname-name path))
          (type (pathname-type path)))
     (with-output-to-string (out)
-      (write-string adams-dir out)
+      (write-string cl-unix-cybernetics-dir out)
       (write-string "build/" out)
       (let ((dir (strip-common-lisp-directory dir)))
         (dolist (d (rest dir))
@@ -120,7 +130,7 @@
                 (call-next-method)))
              (t (error "Bad if-feature")))))))
 
-#+nil (collect-sources :adams)
+#+nil (collect-sources :cl-unix-cybernetics)
 
 (defun write-system-build-file (system sbf)
   (format t "~&~A~%" sbf) (force-output)
@@ -176,4 +186,4 @@
       (fresh-line out)
       (force-output out))))
 
-(write-build-systems-file :adams)
+(write-build-systems-file :cl-unix-cybernetics)
diff --git a/shell/sb-shell.lisp b/shell/sb-shell.lisp
index e7627f9..05b2706 100644
--- a/shell/sb-shell.lisp
+++ b/shell/sb-shell.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 ;;  SBCL implementation
 
diff --git a/shell/shell.lisp b/shell/shell.lisp
index c4aa608..8a33dcd 100644
--- a/shell/shell.lisp
+++ b/shell/shell.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 (defvar *default-shell-command* "/bin/sh")
 (defparameter *shell-signal-errors* nil)
diff --git a/test.lisp b/test.lisp
index e57cce3..158050e 100644
--- a/test.lisp
+++ b/test.lisp
@@ -1,11 +1,21 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
 (in-package :cl-user)
 
-(require :adams)
+(require :cl-unix-cybernetics)
 
-(in-package :adams-user)
+(in-package :cl-unix-cybernetics-user)
 
 ;; TEST
 
@@ -14,8 +24,8 @@
 
 (assert (string= (machine-instance) (run-1 "hostname")))
 
-(adams:clear-resources)
-(adams:clear-probed)
+(cl-unix-cybernetics:clear-resources)
+(cl-unix-cybernetics:clear-probed)
 
 (resource 'symlink "/home/dx/test-symlink"
           :owner "dx"
diff --git a/toplevel.lisp b/toplevel.lisp
index a31ab40..2709e3e 100644
--- a/toplevel.lisp
+++ b/toplevel.lisp
@@ -1,13 +1,21 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-user)
 
-(defun adams-toplevel ()
-  (let ((*package* (find-package :adams-user)))
-    (sb-impl::toplevel-init)))
-
-(defun build (path)
-  (sb-ext:save-lisp-and-die path
+(flet ((cl-unix-cybernetics-toplevel ()
+         (let ((*package* (find-package :cl-unix-cybernetics-user)))
+           (sb-impl::toplevel-init))))
+  (sb-ext:save-lisp-and-die #P"build/cl-unix-cybernetics"
                             :toplevel #'cl-unix-cybernetics-toplevel
-                            :executable t))
+                            :executable t)))
diff --git a/unix/commands.lisp b/unix/commands.lisp
index 90868f2..0acaeae 100644
--- a/unix/commands.lisp
+++ b/unix/commands.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/unix/darwin.lisp b/unix/darwin.lisp
index 0e48d54..7673a03 100644
--- a/unix/darwin.lisp
+++ b/unix/darwin.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/unix/debian.lisp b/unix/debian.lisp
index 734e4b9..40b333e 100644
--- a/unix/debian.lisp
+++ b/unix/debian.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/unix/defs.lisp b/unix/defs.lisp
index 7bb5065..9c79035 100644
--- a/unix/defs.lisp
+++ b/unix/defs.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Group
 
diff --git a/unix/freebsd.lisp b/unix/freebsd.lisp
index 9b34175..b9b7c23 100644
--- a/unix/freebsd.lisp
+++ b/unix/freebsd.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/unix/linux.lisp b/unix/linux.lisp
index 4d2f441..741b129 100644
--- a/unix/linux.lisp
+++ b/unix/linux.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/unix/openbsd.lisp b/unix/openbsd.lisp
index 6ba2960..3d8bb76 100644
--- a/unix/openbsd.lisp
+++ b/unix/openbsd.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/unix/operations.lisp b/unix/operations.lisp
index fdd219c..02c997b 100644
--- a/unix/operations.lisp
+++ b/unix/operations.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Echo
 
diff --git a/unix/probes.lisp b/unix/probes.lisp
index 4c62883..5825cb0 100644
--- a/unix/probes.lisp
+++ b/unix/probes.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  Group
 
diff --git a/unix/ssh.lisp b/unix/ssh.lisp
index 0dda1af..52029ff 100644
--- a/unix/ssh.lisp
+++ b/unix/ssh.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
 
-(in-package :adams)
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)
 
diff --git a/unix/stat.lisp b/unix/stat.lisp
index 28ec881..a29cff5 100644
--- a/unix/stat.lisp
+++ b/unix/stat.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 ;;  st_mode, see stat(2)
 
diff --git a/unix/syntaxes.lisp b/unix/syntaxes.lisp
index 74b54aa..3cfd0ed 100644
--- a/unix/syntaxes.lisp
+++ b/unix/syntaxes.lisp
@@ -1,7 +1,17 @@
-;; Adams - UNIX system administration tool written in Common Lisp
+;; cl-unix-cybernetics
 ;; Copyright 2013-2022 Thomas de Grivel <thodg@kmx.io>
-
-(in-package :adams)
+;;
+;; Permission is hereby granted to use this software granted
+;; the above copyright notice and this permission paragraph
+;; are included in all copies and substantial portions of this
+;; software.
+;;
+;; THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+;; PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+;; AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+;; THIS SOFTWARE.
+
+(in-package :cl-unix-cybernetics)
 
 (in-re-readtable)