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
|
2025-04-10 06:53:03 -06:00
|
|
|
``sysutils/bastille``. Binary packages are available in quarterly and latest
|
2019-11-20 18:54:05 -07:00
|
|
|
repositories.
|
2018-11-24 20:07:20 -07:00
|
|
|
|
2025-04-20 12:00:38 -05:00
|
|
|
Current version is ``0.14.20250420``.
|
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
|
|
|
|
|
|
|
|
|
2025-03-01 12:44:30 -07:00
|
|
|
pkg
|
2019-11-20 18:54:05 -07:00
|
|
|
---
|
2019-11-20 19:24:11 -07:00
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
|
|
pkg install bastille
|
2025-04-20 08:07:32 -07:00
|
|
|
bastille setup
|
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
|
2025-04-20 08:07:32 -07:00
|
|
|
bastille setup
|
2019-11-28 09:21:13 -07:00
|
|
|
|
2025-03-01 12:44:30 -07:00
|
|
|
git
|
2019-11-28 09:21:13 -07:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
|
|
git clone https://github.com/BastilleBSD/bastille.git
|
|
|
|
|
cd bastille
|
|
|
|
|
make install
|
2025-04-20 08:07:32 -07:00
|
|
|
bastille setup
|
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
|
2025-04-10 06:53:03 -06:00
|
|
|
has a ``make uninstall`` target. You may need to manually copy the sample
|
2023-10-10 19:51:10 -06:00
|
|
|
config into place before Bastille will run. (ie;
|
2025-04-10 06:53:03 -06:00
|
|
|
``/usr/local/etc/bastille/bastille.conf.sample``)
|
2023-10-10 19:51:10 -06:00
|
|
|
|
|
|
|
|
Note: installing using this method overwrites the version variable to match
|
|
|
|
|
that of the source revision commit hash.
|