man dh_installxsp (Commandes) - install host files into /etc/xsp/conf.d and /etc/mono-server/conf.d
NAME
dh_installxsp - install host files into /etc/xsp/conf.d and /etc/mono-server/conf.d
SYNOPSIS
dh_installxsp [debhelper options] [--name=name] [-V version(s)]
DESCRIPTION
dh_installxsp is a debhelper program that will install host configuration files in /etc/xsp/conf.d and /etc/mono-server/conf.d (for XSP) or /etc/xsp2/conf.d and /etc/mono-server2/conf.d (for XSP 2). So, if xsp (or xsp 2) is install or will be installed, when xsp starts it automatically starts the daemon with the host file.
The files debian/package.hostxsp are installed for XSP while debian/package.hostxsp2 are used for XSP 2.
In the debian/rules file, dh_installxsp needs to be called before dh_installdeb to make sure the files are properly marked as conffiles to avoid the lintian warnings. Otherwise, the files created in /etc/ need to be marked as conffiles.
OPTIONS
- --name=name
- Look for files named debian/package.hostxsp and install them as /etc/xsp/conf.d/package/hostfile.
- -V version(s)
- Installs the files for XSP (-V 1), XSP 2.0 (-V 2), or both (-V 1,2). If this version is not specified (or just -V is given), this only installed files for XSP, not XSP 2.
SEE ALSO
AUTHOR
Originally written by Pablo Fischer <pablo@pablo.com.mx>. Modified by Dylan R. E. Moonfire <debian@mfgames.com> to handle XSP and XSP 2 installation.