auto-import changelog data from bind-9.2.3-5.src.rpm
Tue Dec 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-5 - Add defattr to libs Mon Dec 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-4 - Break out library package Mon Dec 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-3 - Fix condrestart Wed Nov 12 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-2 - Move libisc and libdns to bind from bind-util Tue Nov 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-1 - Move to 9.2.3 Mon Oct 27 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-10 - Add PIE support
This commit is contained in:
parent
4f506dfba3
commit
31bdca3fd1
|
@ -1,3 +1,5 @@
|
||||||
bind-9.2.2.P3.tar.bz2
|
bind-9.2.3.tar.bz2
|
||||||
|
bind-9.2.3rc3-deprecation_msg_shut_up.diff.bz2
|
||||||
bind-chroot.tar.gz
|
bind-chroot.tar.gz
|
||||||
|
bind-manpages.patch.bz2
|
||||||
bind-manpages.tar.bz2
|
bind-manpages.tar.bz2
|
||||||
|
|
71
bind.spec
71
bind.spec
|
@ -19,10 +19,14 @@ Patch3: bind-posixthreads.patch
|
||||||
Patch4: bind-bsdcompat.patch
|
Patch4: bind-bsdcompat.patch
|
||||||
Patch5: bind-nonexec.patch
|
Patch5: bind-nonexec.patch
|
||||||
Patch6: bind-9.2.2-nsl.patch
|
Patch6: bind-9.2.2-nsl.patch
|
||||||
|
Patch7: bind-9.2.2-pie.patch
|
||||||
|
Patch8: bind-manpages.patch.bz2
|
||||||
|
Patch9: bind-9.2.3rc3-deprecation_msg_shut_up.diff.bz2
|
||||||
|
|
||||||
Url: http://www.isc.org/products/BIND/
|
Url: http://www.isc.org/products/BIND/
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
Version: 9.2.2.P3
|
Version: 9.2.3
|
||||||
Release: 9
|
Release: 5
|
||||||
|
|
||||||
BuildRequires: openssl-devel gcc glibc-devel >= 2.2.5-26 glibc-kernheaders >= 2.4-7.10 libtool pkgconfig fileutils tar
|
BuildRequires: openssl-devel gcc glibc-devel >= 2.2.5-26 glibc-kernheaders >= 2.4-7.10 libtool pkgconfig fileutils tar
|
||||||
Requires(pre,preun): shadow-utils
|
Requires(pre,preun): shadow-utils
|
||||||
|
@ -40,6 +44,12 @@ which resolves host names to IP addresses; a resolver library
|
||||||
(routines for applications to use when interfacing with DNS); and
|
(routines for applications to use when interfacing with DNS); and
|
||||||
tools for verifying that the DNS server is operating properly.
|
tools for verifying that the DNS server is operating properly.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries used by various DNS packages
|
||||||
|
Group: Applications/System
|
||||||
|
%description libs
|
||||||
|
Contains libraries used by both the bind server package as well as the utils packages.
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Summary: Utilities for querying DNS name servers.
|
Summary: Utilities for querying DNS name servers.
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
@ -149,12 +159,13 @@ fi
|
||||||
%patch4 -p1 -b .bsdcompat
|
%patch4 -p1 -b .bsdcompat
|
||||||
%patch5 -p1 -b .nonexec
|
%patch5 -p1 -b .nonexec
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7 -p1 -b .pie
|
||||||
|
%patch8 -p1 -b .man-pages
|
||||||
|
%patch9 -p0 -b .deprecation_msg_shut_up
|
||||||
|
|
||||||
%build
|
%build
|
||||||
LTVERSION=`libtool --version | head -1 | awk '{ print $4 }' |sed -e "s/\.//;s/\..*//g"`
|
libtoolize --copy --force; aclocal; autoconf
|
||||||
if [ "$LTVERSION" -lt 14 ]; then
|
|
||||||
export LTCONFIG_VERSION=1.3.5
|
|
||||||
fi
|
|
||||||
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
|
||||||
|
@ -162,8 +173,11 @@ 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
|
||||||
%configure --with-libtool --with-openssl=/usr --enable-threads
|
%configure --with-libtool --localstatedir=/var \
|
||||||
#make %{?_smp_mflags} # seems to be broken: bugzilla:64868
|
--enable-threads \
|
||||||
|
--enable-ipv6 \
|
||||||
|
--with-openssl=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
cp %{SOURCE6} doc/rfc
|
cp %{SOURCE6} doc/rfc
|
||||||
|
@ -182,12 +196,12 @@ mkdir -p ${RPM_BUILD_ROOT}/%{prefix}
|
||||||
tar --no-same-owner -zxvf %{SOURCE7} --directory ${RPM_BUILD_ROOT}/%{prefix}
|
tar --no-same-owner -zxvf %{SOURCE7} --directory ${RPM_BUILD_ROOT}/%{prefix}
|
||||||
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
install -c -m 640 bin/rndc/rndc.conf $RPM_BUILD_ROOT/etc
|
install -c -m 640 bin/rndc/rndc.conf $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
install -c -m 755 contrib/named-bootconf/named-bootconf.sh $RPM_BUILD_ROOT/usr/sbin/named-bootconf
|
install -c -m 755 contrib/named-bootconf/named-bootconf.sh $RPM_BUILD_ROOT/usr/sbin/named-bootconf
|
||||||
install -c -m 755 %SOURCE3 $RPM_BUILD_ROOT/etc/rc.d/init.d/named
|
install -c -m 755 %SOURCE3 $RPM_BUILD_ROOT/etc/rc.d/init.d/named
|
||||||
install -c -m 644 %SOURCE4 $RPM_BUILD_ROOT/etc/logrotate.d/named
|
install -c -m 644 %SOURCE4 $RPM_BUILD_ROOT/etc/logrotate.d/named
|
||||||
touch $RPM_BUILD_ROOT/etc/rndc.key
|
touch $RPM_BUILD_ROOT%{_sysconfdir}/rndc.key
|
||||||
cat << __EOF > $RPM_BUILD_ROOT/etc/rndc.key
|
cat << __EOF > $RPM_BUILD_ROOT%{_sysconfdir}/rndc.key
|
||||||
key "rndckey" {
|
key "rndckey" {
|
||||||
algorithm hmac-md5;
|
algorithm hmac-md5;
|
||||||
secret "@KEY@";
|
secret "@KEY@";
|
||||||
|
@ -196,8 +210,8 @@ __EOF
|
||||||
gcc $RPM_OPT_FLAGS -o $RPM_BUILD_ROOT/usr/sbin/dns-keygen %{SOURCE5}
|
gcc $RPM_OPT_FLAGS -o $RPM_BUILD_ROOT/usr/sbin/dns-keygen %{SOURCE5}
|
||||||
cd $RPM_BUILD_ROOT%{_mandir}
|
cd $RPM_BUILD_ROOT%{_mandir}
|
||||||
tar xjf %{SOURCE1}
|
tar xjf %{SOURCE1}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/etc/sysconfig
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
||||||
cp %{SOURCE2} ${RPM_BUILD_ROOT}/etc/sysconfig/named
|
cp %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/named
|
||||||
|
|
||||||
%if %server
|
%if %server
|
||||||
%pre
|
%pre
|
||||||
|
@ -269,9 +283,6 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
||||||
%{_sbindir}/rndc*
|
%{_sbindir}/rndc*
|
||||||
%{_sbindir}/dns-keygen
|
%{_sbindir}/dns-keygen
|
||||||
|
|
||||||
%{_libdir}/libisccc.so.*
|
|
||||||
%{_libdir}/libisccfg.so.*
|
|
||||||
|
|
||||||
%{_mandir}/man5/named.conf.5*
|
%{_mandir}/man5/named.conf.5*
|
||||||
%{_mandir}/man5/rndc.conf.5*
|
%{_mandir}/man5/rndc.conf.5*
|
||||||
%{_mandir}/man8/rndc.8*
|
%{_mandir}/man8/rndc.8*
|
||||||
|
@ -287,15 +298,17 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
||||||
%attr(770,named,named) %dir /var/run/named
|
%attr(770,named,named) %dir /var/run/named
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*so*
|
||||||
|
%{_libdir}/*.la
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/dig
|
%{_bindir}/dig
|
||||||
%{_bindir}/host
|
%{_bindir}/host
|
||||||
%{_bindir}/nslookup
|
%{_bindir}/nslookup
|
||||||
%{_bindir}/nsupdate
|
%{_bindir}/nsupdate
|
||||||
%{_libdir}/libdns.so.*
|
|
||||||
%{_libdir}/libisc.so.*
|
|
||||||
%{_libdir}/liblwres.so.*
|
|
||||||
%{_mandir}/man1/host.1*
|
%{_mandir}/man1/host.1*
|
||||||
%{_mandir}/man8/nsupdate.8*
|
%{_mandir}/man8/nsupdate.8*
|
||||||
%{_mandir}/man1/dig.1*
|
%{_mandir}/man1/dig.1*
|
||||||
|
@ -305,8 +318,6 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
||||||
%if %server
|
%if %server
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so
|
|
||||||
%{_libdir}/*.la
|
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
@ -314,6 +325,24 @@ rm -rf ${RPM_BUILD_ROOT} ${RPM_BUILD_DIR}/%{name}-%{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-5
|
||||||
|
- Add defattr to libs
|
||||||
|
|
||||||
|
* Mon Dec 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-4
|
||||||
|
- Break out library package
|
||||||
|
|
||||||
|
* Mon Dec 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-3
|
||||||
|
- Fix condrestart
|
||||||
|
|
||||||
|
* Wed Nov 12 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-2
|
||||||
|
- Move libisc and libdns to bind from bind-util
|
||||||
|
|
||||||
|
* Tue Nov 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.3-1
|
||||||
|
- Move to 9.2.3
|
||||||
|
|
||||||
|
* Mon Oct 27 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-10
|
||||||
|
- Add PIE support
|
||||||
|
|
||||||
* Fri Oct 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-9
|
* Fri Oct 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-9
|
||||||
- Add /var/named/slaves directory
|
- Add /var/named/slaves directory
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ case "$1" in
|
||||||
restart
|
restart
|
||||||
;;
|
;;
|
||||||
condrestart)
|
condrestart)
|
||||||
[ -e /var/lock/subsys/named ] && restart
|
if [ -e /var/lock/subsys/named ]; then restart; fi
|
||||||
;;
|
;;
|
||||||
reload)
|
reload)
|
||||||
reload
|
reload
|
||||||
|
|
4
sources
4
sources
|
@ -1,3 +1,5 @@
|
||||||
64539232c1ad4658ae4a32aa46719159 bind-9.2.2.P3.tar.bz2
|
3551c7bf39d9b50c9826bb7d6f501b96 bind-9.2.3.tar.bz2
|
||||||
|
f1266fa636426e2f3ce6771f09ce787f bind-9.2.3rc3-deprecation_msg_shut_up.diff.bz2
|
||||||
682fa30aef039f9a752d006121d834d8 bind-chroot.tar.gz
|
682fa30aef039f9a752d006121d834d8 bind-chroot.tar.gz
|
||||||
|
8b23572c278767cb64ced447df3ffdcc bind-manpages.patch.bz2
|
||||||
c2f6322d4ef48684478cbb3c5cccbd3f bind-manpages.tar.bz2
|
c2f6322d4ef48684478cbb3c5cccbd3f bind-manpages.tar.bz2
|
||||||
|
|
Loading…
Reference in New Issue