[ratelimits] Installing patch

Groups groups at obsd.us
Fri Dec 7 21:12:00 UTC 2012


Newbie here on patching

Looking for pointers to get this installed.

System Info and Errors

Scientfic Linux 6.3 x86
Bind compiled from source
./configure \
--prefix=/usr/local \
--sysconfdir=/etc/namedb \
--disable-openssl-version-check \
--with-openssl=yes \
--enable-ipv6 \
--enable-threads
******************
Name: patch  Relocations: (not relocatable)
Version: 2.6 Vendor: Scientific Linux
#patch -v
patch 2.6
--
#named -v
BIND 9.8.4
--
Followed the instructions on:
http://www.redbarn.org/dns/ratelimits
RL patch -  91928 Oct 22 13:20 rl-9.8.4.patch
--
This command hangs:
Run "patch -p0 -l" while standing in the BIND9 source pool
--
Trying :

~/bind-9.8.4-P1$ patch -p0 -l -i rl-9.8.4.patch
patching file bin/named/client.c
patching file bin/named/config.c
patching file bin/named/include/named/query.h
patching file bin/named/include/named/server.h
patching file bin/named/query.c
Hunk #1 succeeded at 5569 (offset 2 lines).
Hunk #2 succeeded at 7081 (offset 2 lines).
patching file bin/named/server.c
patching file bin/named/statschannel.c
patching file bin/tests/system/README
patching file bin/tests/system/conf.sh.in
patching file bin/tests/system/rrl/clean.sh
patching file bin/tests/system/rrl/ns1/named.conf
patching file bin/tests/system/rrl/ns1/root.db
patching file bin/tests/system/rrl/ns2/hints
patching file bin/tests/system/rrl/ns2/named.conf
patching file bin/tests/system/rrl/ns2/tld2.db
patching file bin/tests/system/rrl/ns3/hints
patching file bin/tests/system/rrl/ns3/named.conf
patching file bin/tests/system/rrl/ns3/tld3.db
patching file bin/tests/system/rrl/setup.sh
patching file bin/tests/system/rrl/tests.sh
patching file doc/arm/Bv9ARM-book.xml
patching file lib/dns/Makefile.in
patching file lib/dns/include/dns/log.h
patching file lib/dns/include/dns/rrl.h
patching file lib/dns/include/dns/view.h
patching file lib/dns/log.c
patching file lib/dns/rrl.c
patching file lib/dns/view.c
patching file lib/isccfg/namedconf.c
patching file version
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file version.rej
--
version.rej
--- version-orig	2004-01-01 00:00:00.000000000 +0000
+++ version	2004-01-01 00:00:00.000000000 +0000
@@ -5,6 +5,6 @@
  #
  MAJORVER=9
  MINORVER=8
-PATCHVER=4
+PATCHVER=4-vjs287.12
  RELEASETYPE=
  RELEASEVER=


thx


More information about the ratelimits mailing list