bind9/util
Michal Nowak 039979e460
Install BIND with "make DESTDIR=<PATH> install"
BIND installation should be done by setting $DESTDIR during "make
install", not by setting --prefix via ./configure to the destination
directory. However, on 9.11 --prefix still needs to be set to eliminate
the compatibility mode with older BIND9 releases (see the comment in
configure.ac, lines 379-396), which does not place sysconfdir and
localstatedir to $DESTDIR/$prefix but directly to $DESTDIR. When
--prefix is set they end up in $DESTDIR/$prefix, which is the BIND 9.16+
default).

    $ ./configure && make && make install DESTDIR=/tmp/bind9
    $ ls /tmp/bind9/{,usr/local}
    /tmp/bind9/:
    etc  usr  var
    /tmp/bind9/usr/local:
    bin  include  lib  sbin  share

    $ ./configure --prefix=/usr/local && make && make install DESTDIR=/tmp/bind9
    $ ls /tmp/bind9/{,usr/local}
    /tmp/bind9/:
    usr
    /tmp/bind9/usr/local:
    bin  etc  include  lib  sbin  share  var

Make sure that installation with DESTDIR=<PATH> works by checking that
named binary and it's respective man page were installed and that
well-known BIND9 directories - and only them - are present in DESTDIR.

Also rename install path variable from BIND_INSTALL_PATH to
INSTALL_PATH to avoid namespace clash in stress tests which use
BIND_INSTALL_PATH variable to configure path to BIND9 binaries.

(cherry picked from commit 823bf3e79b)
2021-05-25 18:42:37 +02:00
..
altbuild.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
api-checker.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
bindkeys.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
branchsync.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-ans-prereq.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-categories.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-changes update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-cocci Add unreachable.spatch coccinelle recipe and run it in precheck CI phase 2018-12-21 09:29:47 +01:00
check-includes.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-instincludes.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-line-length.sh Detect overly long CHANGES lines 2021-01-28 15:09:46 +11:00
check-make-install.in Install BIND with "make DESTDIR=<PATH> install" 2021-05-25 18:42:37 +02:00
check-pullups.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-sources.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
check-win32util-configure update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
checklibs.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
commit-arm.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
COPYRIGHT fix a typo in copyright headers, and change "http" to "https" 2020-09-14 16:52:34 -07:00
COPYRIGHT.BRIEF fix a typo in copyright headers, and change "http" to "https" 2020-09-14 16:52:34 -07:00
COPYRIGHT.BSDI fix a typo in copyright headers, and change "http" to "https" 2020-09-14 16:52:34 -07:00
COPYRIGHT.NAI fix a typo in copyright headers, and change "http" to "https" 2020-09-14 16:52:34 -07:00
COPYRIGHT.NOM fix a typo in copyright headers, and change "http" to "https" 2020-09-14 16:52:34 -07:00
COPYRIGHT.PORTION fix a typo in copyright headers, and change "http" to "https" 2020-09-14 16:52:34 -07:00
COPYRIGHT.TOP fix a typo in copyright headers, and change "http" to "https" 2020-09-14 16:52:34 -07:00
copyrights Set up release notes for BIND 9.11.33 2021-05-20 12:34:09 +02:00
git-replay-merge.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
kit.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
mandoc2docbook.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
mdnbuildtest.sh update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
memleak.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
merge_copyrights update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
mksymtbl.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
models.c update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
nanny.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
new-func update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
nt-kit update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
pairwise-testing.sh Do not remove stderr from pict output 2021-02-23 15:27:59 +01:00
parse_tsan.py update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
spacewhack.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
suppressions.txt Suppress unknownMacro directive which is currently broken with OpenSSL 2020-02-08 06:32:42 -08:00
tabify-changes update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
update-drafts.pl update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
update_branches update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
update_copyrights update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00
xc update all copyright headers to eliminate the typo 2020-09-14 17:00:40 -07:00