Upgrade to 9.3.1rc1

This commit is contained in:
jvdias 2005-02-16 20:08:42 +00:00
parent 2dbdf52e23
commit 4f7c22be70
3 changed files with 21 additions and 18 deletions

View File

@ -5,3 +5,4 @@ bind-manpages-2.tar.bz2
bind-manpages.patch.bz2 bind-manpages.patch.bz2
bind-9.2.4rc8.tar.gz bind-9.2.4rc8.tar.gz
bind-9.3.0.tar.gz bind-9.3.0.tar.gz
bind-9.3.1rc1.tar.gz

View File

@ -2,6 +2,11 @@
Summary: A DNS (Domain Name System) server. Summary: A DNS (Domain Name System) server.
Name: bind Name: bind
License: BSD-like License: BSD-like
Version: 9.3.1rc1
Release: 1
Epoch: 22
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-root
Group: System Environment/Daemons Group: System Environment/Daemons
Source: ftp://ftp.isc.org/isc/bind9/%{version}/bind-%{version}.tar.gz Source: ftp://ftp.isc.org/isc/bind9/%{version}/bind-%{version}.tar.gz
#Source1: bind-manpages-2.tar.bz2 #Source1: bind-manpages-2.tar.bz2
@ -14,7 +19,7 @@ Source5: rfc1912.txt
Source6: bind-chroot.tar.gz Source6: bind-chroot.tar.gz
Patch: bind-9.2.0rc3-varrun.patch Patch: bind-9.2.0rc3-varrun.patch
Patch1: bind-9.2.1-key.patch Patch1: bind-9.2.1-key.patch
Patch2: bind-9.2.4-config.patch Patch2: bind-9.3.1beta2-openssl-suffix.patch
Patch3: bind-posixthreads.patch Patch3: bind-posixthreads.patch
Patch4: bind-bsdcompat.patch Patch4: bind-bsdcompat.patch
Patch5: bind-nonexec.patch Patch5: bind-nonexec.patch
@ -22,12 +27,7 @@ Patch6: bind-9.2.2-nsl.patch
Patch7: bind-9.2.4rc7-pie.patch Patch7: bind-9.2.4rc7-pie.patch
Patch8: bind-9.3.0-handle-send-errors.patch Patch8: bind-9.3.0-handle-send-errors.patch
Patch9: bind-9.3.0-missing-dnssec-tools.patch Patch9: bind-9.3.0-missing-dnssec-tools.patch
Url: http://www.isc.org/products/BIND/ Patch10: bind-9.3.1rc1-no-libtool-for-PIEs.patch
Buildroot: %{_tmppath}/%{name}-root
Version: 9.3.0
Release: 2
Epoch: 22
BuildRequires: openssl-devel gcc glibc-devel >= 2.2.5-26 glibc-kernheaders >= 2.4-7.10 libtool pkgconfig tar
Requires(pre,preun): shadow-utils Requires(pre,preun): shadow-utils
Requires(post,preun): chkconfig Requires(post,preun): chkconfig
Requires(post): textutils, fileutils, sed, grep Requires(post): textutils, fileutils, sed, grep
@ -35,6 +35,7 @@ Requires: bind-utils /bin/usleep
#Requires: kernel >= 2.4 #Requires: kernel >= 2.4
#Requires: glibc >= 2.3.2-5 #Requires: glibc >= 2.3.2-5
Requires: glibc >= 2.2 Requires: glibc >= 2.2
BuildRequires: openssl-devel gcc glibc-devel >= 2.2.5-26 glibc-kernheaders >= 2.4-7.10 libtool pkgconfig tar
%description %description
BIND (Berkeley Internet Name Domain) is an implementation of the DNS BIND (Berkeley Internet Name Domain) is an implementation of the DNS
@ -221,20 +222,22 @@ fi;
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%patch -p1 -b .varrun %patch -p1 -b .varrun
%patch1 -p1 -b .key %patch1 -p1 -b .key
%patch2 -p1 -b .config %patch2 -p1 -b .openssl_suffix
%if %{posix_threads} #%if %{posix_threads}
%patch3 -p1 -b .posixthreads #%patch3 -p1 -b .posixthreads
%endif #%endif
# This patch is no longer required and would not work anyway (see BZ 87525).
%patch4 -p1 -b .bsdcompat %patch4 -p1 -b .bsdcompat
%patch5 -p1 -b .nonexec %patch5 -p1 -b .nonexec
%patch6 -p1 %patch6 -p1
%patch7 -p1 -b .pie %patch7 -p1 -b .pie
%patch8 -p1 -b .handle_send_errors #%patch8 -p1 -b .handle_send_errors
# This patch is now in ISC bind-9.3.1x
%patch9 -p1 -b .missing_dnssec_tools %patch9 -p1 -b .missing_dnssec_tools
%patch10 -p1 -b .no-libtool-for-PIEs
%build %build
libtoolize --copy --force; aclocal; autoconf libtoolize --copy --force; aclocal; autoconf
cp -f /usr/share/libtool/config.{guess,sub} . cp -f /usr/share/libtool/config.{guess,sub} .
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"
if pkg-config openssl ; then if pkg-config openssl ; then
@ -242,14 +245,12 @@ if pkg-config openssl ; then
export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I openssl`" export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I openssl`"
export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`" export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
fi fi
export CFLAGS="-g $CFLAGS" #export CFLAGS="-g $CFLAGS"
%configure --with-libtool --localstatedir=/var \ %configure --with-libtool --localstatedir=/var \
--enable-threads \ --enable-threads \
--enable-ipv6 \ --enable-ipv6 \
--with-openssl=/usr --with-openssl=/usr
make make
cp %{SOURCE5} doc/rfc cp %{SOURCE5} doc/rfc
gzip -9 doc/rfc/* gzip -9 doc/rfc/*
@ -287,7 +288,7 @@ __EOF
gcc $RPM_OPT_FLAGS -o $RPM_BUILD_ROOT/usr/sbin/dns-keygen %{SOURCE4} gcc $RPM_OPT_FLAGS -o $RPM_BUILD_ROOT/usr/sbin/dns-keygen %{SOURCE4}
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
cp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/named cp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/named
mv $RPM_BUILD_ROOT/usr/share/man/man8/named.conf.* $RPM_BUILD_ROOT/usr/share/man/man5 #mv $RPM_BUILD_ROOT/usr/share/man/man8/named.conf.* $RPM_BUILD_ROOT/usr/share/man/man5
%pre %pre
/usr/sbin/groupadd -g 25 named >/dev/null 2>&1 || :; /usr/sbin/groupadd -g 25 named >/dev/null 2>&1 || :;
@ -603,7 +604,7 @@ rm -rf ${RPM_BUILD_ROOT}
- Install libraries as exec so debug info will be pulled - Install libraries as exec so debug info will be pulled
* Sat Jul 19 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-20 * Sat Jul 19 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-20
- Remove BSDCOMPAT - Remove BSDCOMPAT (BZ 99454)
* Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-19 * Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-19
- Update to build on RHL - Update to build on RHL

View File

@ -1,2 +1,3 @@
3567c35a24cb83a8a69443a399bbb6c8 bind-chroot.tar.gz 3567c35a24cb83a8a69443a399bbb6c8 bind-chroot.tar.gz
fdb42fff7e345372ac52a4493b77b694 bind-9.3.0.tar.gz fdb42fff7e345372ac52a4493b77b694 bind-9.3.0.tar.gz
99980df9cdb3bee01d6d4c15eb10ebed bind-9.3.1rc1.tar.gz