From 043d1e58b1e1bb03355999c0f9a5a4bf6039c60e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Tue, 30 Aug 2022 09:51:10 +0200 Subject: [PATCH] prepare linux/openbsd split --- README.md | 70 ---------------------- CHANGELOG => openbsd/CHANGELOG | 0 CONTRIBUTING.md => openbsd/CONTRIBUTING.md | 0 LICENSE => openbsd/LICENSE | 0 evocheck.cf => openbsd/evocheck.cf | 0 evocheck.sh => openbsd/evocheck.sh | 0 6 files changed, 70 deletions(-) delete mode 100644 README.md rename CHANGELOG => openbsd/CHANGELOG (100%) rename CONTRIBUTING.md => openbsd/CONTRIBUTING.md (100%) rename LICENSE => openbsd/LICENSE (100%) rename evocheck.cf => openbsd/evocheck.cf (100%) rename evocheck.sh => openbsd/evocheck.sh (100%) diff --git a/README.md b/README.md deleted file mode 100644 index ce87da5..0000000 --- a/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# Evocheck - -It runs many compliance checks of the server with Evolix conventions. -Non-compliance warnings are printed on standard output. - -It supports Debian and OpenBSD systems. - -Some checks can be disabled in the `/etc/evocheck.cf` config file. - -Tests can be run with Vagrant and the provided `VagrantFile`. - -## How to build the package for a new Debian release - -On the master branch, add the last stable version with a release tag. -``` -git tag -s v -m 'New release' -git push --tags -``` - -Checkout the branch debian, merge the master branch. - -``` -git checkout debian -git merge master --no-ff -dch -v -1 -gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-export-dir=/tmp/build-area --git-ignore-new -``` - -If the build is OK, you can now build the final package. - -``` -dch -D stretch -r -gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-export-dir=/tmp/build-area --git-tag --git-sign --git-keyid= -``` - -## Testing - -Evocheck can be tested with Vagrant, if you don't have installed it yet : - -~~~ -apt install vagrant vagrant-libvirt -~~~ - -You can now start your Vagrant machine and connect to it : - -~~~ -vagrant up -vagrant ssh -sudo -i -~~~ - -Evocheck can be run with : - -~~~ -/usr/share/scripts/evocheck.sh -~~~ - -### Deployment - -Launch **vagrant rsync-auto** in a terminal to automatically synchronise -your local code with the Vagrant VM : - -~~~ -vagrant rsync-auto -~~~ - -## License - -This is an [Evolix](https://evolix.com) project and is licensed -under the GPLv3, see the [LICENSE](LICENSE) file for details. diff --git a/CHANGELOG b/openbsd/CHANGELOG similarity index 100% rename from CHANGELOG rename to openbsd/CHANGELOG diff --git a/CONTRIBUTING.md b/openbsd/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to openbsd/CONTRIBUTING.md diff --git a/LICENSE b/openbsd/LICENSE similarity index 100% rename from LICENSE rename to openbsd/LICENSE diff --git a/evocheck.cf b/openbsd/evocheck.cf similarity index 100% rename from evocheck.cf rename to openbsd/evocheck.cf diff --git a/evocheck.sh b/openbsd/evocheck.sh similarity index 100% rename from evocheck.sh rename to openbsd/evocheck.sh