]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Documentation: update FreeBSD build instructions 63/head
authorPhilip Paeps <philip@trouble.is>
Wed, 27 Oct 2021 07:41:28 +0000 (15:41 +0800)
committerPhilip Paeps <philip@trouble.is>
Wed, 27 Oct 2021 07:41:28 +0000 (15:41 +0800)
While binary packages are available, some people like to build from
source.  Update the instructions for building from a port, a release
tarball or a Git checkout.

docs/installation.md

index becafb227e4ff12f641e764121137741200a93cd..f3c137cfab94e752099d213e33542babb8f4ce11 100644 (file)
@@ -341,33 +341,28 @@ sudo make install
 
 ### FreeBSD version
 
-The following steps are for FreeBSD 12.0.
+The following steps are for FreeBSD 12.0 and later.
 
-`curl` library is needed, so in case it isn't already installed there's a port to install it:
+FORT validator is available as part of the FreeBSD ports tree.  You can build it it effortlessly from there:
 
 {% highlight bash %}
-cd /usr/ports/ftp/curl
-make config
-su
+cd /usr/ports/net/fort
 make install clean
-exit
 {% endhighlight %}
 
-From there on, the installation steps are:
+The ports system will find and install all the necessary dependencies for you.
 
-{% highlight bash %}
-su
-pkg install autoconf automake gcc jansson pkgconf rsync libxml2
-exit
+Should you want to build from a release tarball or a Git checkout, follow these instructions:
 
-curl -L https://github.com/NICMx/FORT-validator/releases/download/{{ site.fort-latest-version }}/fort-{{ site.fort-latest-version }}.tar.gz --output fort-{{ site.fort-latest-version }}.tar.gz
+{% highlight bash %}
+pkg install autotools curl jansson pkgconf rsync libxml2
+fetch https://github.com/NICMx/FORT-validator/releases/download/{{ site.fort-latest-version }}/fort-{{ site.fort-latest-version }}.tar.gz
 tar xvzf fort-{{ site.fort-latest-version }}.tar.gz
 cd fort-{{ site.fort-latest-version }}/
+sh ./autoconf.sh
 ./configure
 make
-su
 make install
-exit
 {% endhighlight %}
 
 ### Slackware version