feat[license] Added gpl boilerplate
This commit is contained in:
parent
5147330bc6
commit
62b11f439b
16
build.lisp
16
build.lisp
@ -1,3 +1,19 @@
|
|||||||
|
;; sst: The systemd security tool
|
||||||
|
;; Copyright (C) 2023 Judah Sotomayor
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
;; Load and build the project
|
;; Load and build the project
|
||||||
(ql:quickload :sst)
|
(ql:quickload :sst)
|
||||||
|
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
;; sst: The systemd security tool
|
||||||
|
;; Copyright (C) 2023 Judah Sotomayor
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(defpackage :sst-ui
|
(defpackage :sst-ui
|
||||||
(:use :common-lisp)
|
(:use :common-lisp)
|
||||||
(:export :toplevel))
|
(:export :toplevel))
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
;; sst: The systemd security tool
|
||||||
|
;; Copyright (C) 2023 Judah Sotomayor
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(in-package :sst-edit)
|
(in-package :sst-edit)
|
||||||
|
|
||||||
(defun add-settings (settings-list settings-table)
|
(defun add-settings (settings-list settings-table)
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
;; sst: The systemd security tool
|
||||||
|
;; Copyright (C) 2023 Judah Sotomayor
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(in-package :sst-ui)
|
(in-package :sst-ui)
|
||||||
|
|
||||||
(defparameter *option-version*
|
(defparameter *option-version*
|
||||||
|
@ -1,6 +1,23 @@
|
|||||||
(in-package :sst-ui)
|
;; sst: The systemd security tool
|
||||||
|
;; Copyright (C) 2023 Judah Sotomayor
|
||||||
|
|
||||||
(defun run (file &key direct-settings secure)
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
(in-package :sst-ui)
|
||||||
|
(defun run (file &key direct-settings secure backup)
|
||||||
|
(if backup
|
||||||
|
(uiop:copy-file file (merge-pathnames backup)))
|
||||||
;; Apply the settings to the file.
|
;; Apply the settings to the file.
|
||||||
(let ((settings-table (systemd-parse:read-service file)))
|
(let ((settings-table (systemd-parse:read-service file)))
|
||||||
(sst-edit:add-settings direct-settings settings-table) ; Inject all the settings options required
|
(sst-edit:add-settings direct-settings settings-table) ; Inject all the settings options required
|
||||||
|
16
src/ui.lisp
16
src/ui.lisp
@ -1,3 +1,19 @@
|
|||||||
|
;; sst: The systemd security tool
|
||||||
|
;; Copyright (C) 2023 Judah Sotomayor
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(in-package :sst-ui)
|
(in-package :sst-ui)
|
||||||
|
|
||||||
|
|
||||||
|
16
sst.asd
16
sst.asd
@ -1,3 +1,19 @@
|
|||||||
|
;; sst: The systemd security tool
|
||||||
|
;; Copyright (C) 2023 Judah Sotomayor
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(defsystem :sst
|
(defsystem :sst
|
||||||
:depends-on (:systemd-parse :adopt)
|
:depends-on (:systemd-parse :adopt)
|
||||||
:components ((:file "packages")
|
:components ((:file "packages")
|
||||||
|
Loading…
Reference in New Issue
Block a user