2018-11-24 20:07:20 -07:00
|
|
|
Installation
|
|
|
|
|
============
|
2019-11-20 18:54:05 -07:00
|
|
|
Bastille is available in the official FreeBSD ports tree at
|
|
|
|
|
`sysutils/bastille`. Binary packages available in `quarterly` and `latest`
|
|
|
|
|
repositories.
|
2018-11-24 20:07:20 -07:00
|
|
|
|
2023-11-24 15:20:15 -07:00
|
|
|
Current version is `0.10.20231125`.
|
2018-11-24 20:07:20 -07:00
|
|
|
|
2019-11-20 18:54:05 -07:00
|
|
|
To install from the FreeBSD package repository:
|
2018-11-24 20:07:20 -07:00
|
|
|
|
2019-11-20 18:54:05 -07:00
|
|
|
* quarterly repository may be older version
|
|
|
|
|
* latest repository will match recent ports
|
2018-11-24 20:07:20 -07:00
|
|
|
|
|
|
|
|
|
2019-11-20 18:54:05 -07:00
|
|
|
PKG
|
|
|
|
|
---
|
2019-11-20 19:24:11 -07:00
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
|
|
pkg install bastille
|
2023-10-10 19:51:10 -06:00
|
|
|
sysrc bastille_enable=YES
|
2023-11-24 15:20:15 -07:00
|
|
|
sysrc bastille_rcorder=YES
|
2019-11-20 19:24:11 -07:00
|
|
|
|
2018-11-24 20:07:20 -07:00
|
|
|
|
2019-11-20 18:54:05 -07:00
|
|
|
To install from source (don't worry, no compiling):
|
2018-11-24 20:07:20 -07:00
|
|
|
|
2019-11-20 18:54:05 -07:00
|
|
|
ports
|
|
|
|
|
-----
|
2019-11-20 19:24:11 -07:00
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
|
|
make -C /usr/ports/sysutils/bastille install clean
|
2023-10-10 19:51:10 -06:00
|
|
|
sysrc bastille_enable=YES
|
2023-11-24 15:20:15 -07:00
|
|
|
sysrc bastille_rcorder=YES
|
2019-11-28 09:21:13 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
GIT
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
|
|
git clone https://github.com/BastilleBSD/bastille.git
|
|
|
|
|
cd bastille
|
|
|
|
|
make install
|
2023-10-10 19:51:10 -06:00
|
|
|
sysrc bastille_enable=YES
|
2023-11-24 15:20:15 -07:00
|
|
|
sysrc bastille_rcorder=YES
|
2019-11-28 09:21:13 -07:00
|
|
|
|
|
|
|
|
This method will install the latest files from GitHub directly onto your
|
|
|
|
|
system. It is verbose about the files it installs (for later removal), and also
|
2023-10-10 19:51:10 -06:00
|
|
|
has a `make uninstall` target. You may need to manually copy the `.sample`
|
|
|
|
|
config into place before Bastille will run. (ie;
|
|
|
|
|
`/usr/local/etc/bastille/bastille.conf.sample`)
|
|
|
|
|
|
|
|
|
|
Note: installing using this method overwrites the version variable to match
|
|
|
|
|
that of the source revision commit hash.
|