feat[license] Added gpl boilerplate

This commit is contained in:
Judah Sotomayor 2023-12-20 10:02:13 -05:00
parent 5147330bc6
commit 62b11f439b
Signed by: judahsotomayor
SSH Key Fingerprint: SHA256:9Dq4ppxhfAjbX+7HLXEt+ROMiIojI6kqQgUyFUJb9lI
7 changed files with 115 additions and 2 deletions

View File

@ -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
(ql:quickload :sst)

View File

@ -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
(:use :common-lisp)
(:export :toplevel))

View File

@ -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)
(defun add-settings (settings-list settings-table)

View File

@ -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)
(defparameter *option-version*

View File

@ -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.
(let ((settings-table (systemd-parse:read-service file)))
(sst-edit:add-settings direct-settings settings-table) ; Inject all the settings options required

View File

@ -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)

16
sst.asd
View File

@ -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
:depends-on (:systemd-parse :adopt)
:components ((:file "packages")