Update to new / tweaked way of doing the nsd update.

This commit is contained in:
Florian Obser 2024-04-14 18:59:44 +02:00
parent f29d88e845
commit 5275adb20c

View File

@ -14,8 +14,7 @@ git clone from the upstream repository on [[https://github.com/NLnetLabs/nsd][gi
':!.buildkite/*' ':!makedist.sh' > ~/nsd_4.7.0_upstream.diff ':!.buildkite/*' ':!makedist.sh' > ~/nsd_4.7.0_upstream.diff
cd /usr/src/usr.sbin/nsd cd /usr/src/usr.sbin/nsd
patch -Ep0 < ~/nsd_4.7.0_upstream.diff patch -Ep0 < ~/nsd_4.7.0_upstream.diff
autoheader-2.69 autoconf-2.71
autoconf-2.69
make -f Makefile.bsd-wrapper obj make -f Makefile.bsd-wrapper obj
make -f Makefile.bsd-wrapper clean make -f Makefile.bsd-wrapper clean
make -f Makefile.bsd-wrapper -j4 make -f Makefile.bsd-wrapper -j4
@ -23,7 +22,7 @@ git clone from the upstream repository on [[https://github.com/NLnetLabs/nsd][gi
We also need to update the version numbers in the man pages. For that We also need to update the version numbers in the man pages. For that
we download the release tar ball and generate a diff: we download the release tar ball and generate a diff:
#+begin_src shell #+begin_src shell
diff -ru . /home/florian/nsd-4.7.0/ | fgrep -v Only > sync.diff diff -bru . /home/florian/nsd-4.7.0/ | fgrep -v Only > sync.diff
#+end_src #+end_src
The diff then needs to be partially applied, some changes are The diff then needs to be partially applied, some changes are
intentional. intentional.