Add USR to the rc files for easier modification

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-03-25 07:20:40 -07:00
parent 59aab485c3
commit 294babcfbb
8 changed files with 53 additions and 38 deletions

View File

@ -3,16 +3,18 @@
# #
BUILD=apple BUILD=apple
HOST=apple HOST=apple
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/share SHAREDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall LIBEXECDIR=${USR}/share
PERLLIBDIR=${USR}/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/sbin SBINDIR=/sbin
MANDIR=/usr/share/man MANDIR=${SHAREDIR}/man
INITDIR= INITDIR=
INITFILE=none/ INITFILE=
INITSOURCE= INITSOURCE=
ANNOTATED= ANNOTATED=
SYSCONFDIR=
SYSTEMD= SYSTEMD=
SYSCONFDIR=
SPARSE=Yes
VARDIR=/var/lib VARDIR=/var/lib

View File

@ -3,12 +3,13 @@
# #
BUILD=archlinux BUILD=archlinux
HOST=archlinux HOST=archlinux
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/share SHAREDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall LIBEXECDIR=${USR}/share
PERLLIBDIR=${USR}/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/sbin SBINDIR=/sbin
MANDIR=/usr/share/man MANDIR=${SHAREDIR}/man
INITDIR=/etc/rc.d INITDIR=/etc/rc.d
INITFILE=$PRODUCT INITFILE=$PRODUCT
INITSOURCE=init.sh INITSOURCE=init.sh

View File

@ -3,16 +3,18 @@
# #
BUILD=cygwin BUILD=cygwin
HOST=cygwin HOST=cygwin
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/share SHAREDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall LIBEXECDIR=${USR}/share
PERLLIBDIR=${USR}/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/bin SBINDIR=/bin
MANDIR=/usr/share/man MANDIR=${SHAREDIR}/man
INITDIR=/etc/init.d INITDIR=/etc/init.d
INITFILE= INITFILE=
INITSOURCE= INITSOURCE=
ANNOTATED= ANNOTATED=
SYSCONFDIR=
SYSTEMD= SYSTEMD=
SYSCONFDIR=
SPARSE=Yes
VARDIR=/var/lib VARDIR=/var/lib

View File

@ -3,18 +3,19 @@
# #
BUILD= #Default is to detect the build system BUILD= #Default is to detect the build system
HOST=debian HOST=debian
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/share SHAREDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall LIBEXECDIR=${USR}/share
PERLLIBDIR=${USR}/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/sbin SBINDIR=/sbin
MANDIR=/usr/share/man MANDIR=${USR}/man
INITDIR=/etc/init.d INITDIR=/etc/init.d
INITFILE=$PRODUCT INITFILE=$PRODUCT
INITSOURCE=init.debian.sh INITSOURCE=init.debian.sh
ANNOTATED= ANNOTATED=
SPARSE=Yes
SYSCONFFILE=default.debian SYSCONFFILE=default.debian
SYSCONFDIR=/etc/default SYSCONFDIR=/etc/default
SYSTEMD= SYSTEMD=
SPARSE=Yes
VARDIR=/var/lib VARDIR=/var/lib

View File

@ -3,17 +3,19 @@
# #
HOST= #Default is to detect the host system HOST= #Default is to detect the host system
BUILD= #Default is to detect the build system BUILD= #Default is to detect the build system
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/share SHAREDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall LIBEXECDIR=${USR}/share
PERLLIBDIR=${USR}/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/sbin SBINDIR=/sbin
MANDIR=/usr/share/man MANDIR=${USR}/man
INITDIR=/etc/init.d INITDIR=etc/init.d
INITFILE=$PRODUCT INITFILE=$PRODUCT
INITSOURCE=init.sh INITSOURCE=init.sh
ANNOTATED= ANNOTATED=
SYSTEMD= SYSTEMD=
SYSCONFFILE=
SYSCONFDIR= SYSCONFDIR=
SPARSE= SPARSE=
VARDIR=/var/lib VARDIR=/var/lib

View File

@ -3,16 +3,19 @@
# #
BUILD= #Default is to detect the build system BUILD= #Default is to detect the build system
HOST=redhat HOST=redhat
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/share SHAREDIR=${USR}/share
LIBEXECDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall PERLLIBDIR=/usr/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/sbin SBINDIR=/sbin
MANDIR=/usr/share/man MANDIR=${SHAREDIR}/man
INITDIR=/etc/rc.d/init.d INITDIR=/etc/rc.d/init.d
INITFILE=$PRODUCT INITFILE=$PRODUCT
INITSOURCE=init.fedora.sh INITSOURCE=init.fedora.sh
ANNOTATED= ANNOTATED=
SYSCONFDIR=/etc/sysconfig/
SYSTEMD=/lib/systemd/system SYSTEMD=/lib/systemd/system
SYSCONFFILE=sysconfig
SYSCONFDIR=/etc/sysconfig/
SPARSE=
VARDIR=/var/lib VARDIR=/var/lib

View File

@ -3,18 +3,20 @@
# #
BUILD=slackware BUILD=slackware
HOST=slackware HOST=slackware
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/share SHAREDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall LIBEXECDIR=${USR}/share
PERLLIBDIR=${USR}/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/sbin SBINDIR=/sbin
MANDIR=/usr/man MANDIR=${USR}/man
INITDIR=/etc/rc.d INITDIR=/etc/rc.d
INITSOURCE=init.slackware.firewall INITSOURCE=init.slackware.firewall
INITFILE=rc.firewall INITFILE=rc.firewall
AUXINITSOURCE=init.slackware.$PRODUCT AUXINITSOURCE=init.slackware.$PRODUCT
AUXINITFILE=rc.$PRODUCT AUXINITFILE=rc.$PRODUCT
SYSTEMD=
SYSCONFFILE=
SYSCONFDIR= SYSCONFDIR=
ANNOTATED= ANNOTATED=
SYSTEMD=
VARDIR=/var/lib VARDIR=/var/lib

View File

@ -3,17 +3,19 @@
# #
BUILD= #Default is to detect the build system BUILD= #Default is to detect the build system
HOST=suse HOST=suse
SHAREDIR=/usr/share USR=/usr
LIBEXECDIR=/usr/libexec SHAREDIR=${USR}/share
PERLLIBDIR=/usr/share/shorewall LIBEXECDIR=${USR}/libexec
PERLLIBDIR=${USR}/share/shorewall
CONFDIR=/etc CONFDIR=/etc
SBINDIR=/sbin SBINDIR=/sbin
MANDIR=/usr/share/man/ MANDIR=${SHARDIR}/man/
INITDIR=/etc/init.d INITDIR=/etc/init.d
INITFILE=$PRODUCT INITFILE=$PRODUCT
INITSOURCE=init.sh INITSOURCE=init.sh
ANNOTATED= ANNOTATED=
SYSTEMD= SYSTEMD=
SYSCONFFILE=
SYSCONFDIR=/etc/sysconfig/ SYSCONFDIR=/etc/sysconfig/
SPARSE= SPARSE=
VARDIR=/var/lib VARDIR=/var/lib