inspircd: fix several issues with the package.
This updates the package to follow the advice in the InspIRCd packaging guide..
-
Avoid building modules with incompatible licenses (geo_maxmind, ssl_openssl).
-
Stop building the regex_tre module as this module is deprecated and the dependencies for this are only available in testing.
-
Build the ssl_gnutls (alt for ssl_openssl) and ldap modules.
-
Manually enable extra modules and pass the -disable-auto-extras flag to prevent automatically enabling modules based on the libraries installed on the system.
-
Pass --system to configure and only specify the paths which are not the default for a system-wide install.
-
Give the build a distribution label to allow upstream to easily identify it.
-
Disable building with rpaths; fixes an abuild warning.
-
Remove some obsolete/incorrect comments.