SHA256
1
0
forked from pool/bind

Accepting request 282345 from network

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/282345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bind?expand=0&rev=103
This commit is contained in:
Dominique Leuenberger 2015-01-22 20:48:52 +00:00 committed by Git OBS Bridge
commit 6b0a83c841
3 changed files with 9 additions and 30 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 12 02:28:36 UTC 2014 - jengelh@inai.de
- Explicitly BuildRequire systemd-rpm-macros since it is used
for lwresd %post etc. Then drop pre-12.x material.
Remove configure.in.diff2.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 11 13:03:30 UTC 2014 - jengelh@inai.de Thu Dec 11 13:03:30 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package bind # spec file for package bind
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,6 @@ Patch4: perl-path.diff
Patch51: pie_compile.diff Patch51: pie_compile.diff
Patch52: named-bootconf.diff Patch52: named-bootconf.diff
Patch53: bind-sdb-ldap.patch Patch53: bind-sdb-ldap.patch
Patch100: configure.in.diff2
Patch101: runidn.diff Patch101: runidn.diff
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: libcap BuildRequires: libcap
@ -53,6 +52,7 @@ BuildRequires: openldap2-devel
BuildRequires: openssl BuildRequires: openssl
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: python-base BuildRequires: python-base
BuildRequires: systemd-rpm-macros
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Provides: bind8 Provides: bind8
Provides: bind9 Provides: bind9
@ -66,15 +66,11 @@ Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd /usr/sbin/usermod
Url: http://isc.org/sw/bind/ Url: http://isc.org/sw/bind/
Source60: dlz-schema.txt Source60: dlz-schema.txt
%if %ul_version >= 1
%define VENDOR UL
%else
%if "%{_vendor}" == "suse" %if "%{_vendor}" == "suse"
%define VENDOR SUSE %define VENDOR SUSE
%else %else
%define VENDOR %_vendor %define VENDOR %_vendor
%endif %endif
%endif
# Defines for user and group add # Defines for user and group add
%define NAMED_UID 44 %define NAMED_UID 44
%define NAMED_UID_NAME named %define NAMED_UID_NAME named
@ -319,9 +315,7 @@ Summary: BIND documentation
Group: Documentation/Other Group: Documentation/Other
Version: %rpm_vers Version: %rpm_vers
Release: 0 Release: 0
%if 0%{?suse_version} >= 1120
BuildArch: noarch BuildArch: noarch
%endif
%description doc %description doc
Documentation of the Berkeley Internet Name Domain (BIND) Domain Name Documentation of the Berkeley Internet Name Domain (BIND) Domain Name
@ -336,9 +330,7 @@ Release: 0
Requires: %{name}-chrootenv Requires: %{name}-chrootenv
Provides: dns_daemon Provides: dns_daemon
Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd
%if %suse_version > 1131
PreReq: sysvinit(network) sysvinit(syslog) PreReq: sysvinit(network) sysvinit(syslog)
%endif
%description lwresd %description lwresd
Bind-lwresd provides resolution services to local clients using a Bind-lwresd provides resolution services to local clients using a
@ -372,14 +364,9 @@ Name Domain (BIND) DNS server is found in the package named bind.
%patch1 -p1 %patch1 -p1
%patch4 -p0 %patch4 -p0
#%patch50 #%patch50
%if 0%{?suse_version} >= 1000
%patch51 %patch51
%endif
%patch52 %patch52
%patch53 %patch53
%if 0%{?suse_version} <= 1010
%patch100 -p1
%endif
%patch101 -p1 %patch101 -p1
# modify settings of some files regarding to OS version and vendor # modify settings of some files regarding to OS version and vendor
function replaceStrings() function replaceStrings()
@ -940,10 +927,8 @@ fi
%{_bindir}/genDDNSkey %{_bindir}/genDDNSkey
%{_sbindir}/arpaname %{_sbindir}/arpaname
%{_sbindir}/ddns-confgen %{_sbindir}/ddns-confgen
%if 0%{?suse_version} > 1110
%{_sbindir}/dnssec-checkds %{_sbindir}/dnssec-checkds
%{_sbindir}/dnssec-coverage %{_sbindir}/dnssec-coverage
%endif
%{_sbindir}/dnssec-dsfromkey %{_sbindir}/dnssec-dsfromkey
%{_sbindir}/dnssec-importkey %{_sbindir}/dnssec-importkey
%{_sbindir}/dnssec-keyfromlabel %{_sbindir}/dnssec-keyfromlabel
@ -970,10 +955,8 @@ fi
%{_mandir}/man1/nsupdate.1.gz %{_mandir}/man1/nsupdate.1.gz
%{_mandir}/man5/rndc.conf.5.gz %{_mandir}/man5/rndc.conf.5.gz
%{_mandir}/man8/ddns-confgen.8.gz %{_mandir}/man8/ddns-confgen.8.gz
%if 0%{?suse_version} > 1110
%{_mandir}/man8/dnssec-checkds.8.gz %{_mandir}/man8/dnssec-checkds.8.gz
%{_mandir}/man8/dnssec-coverage.8.gz %{_mandir}/man8/dnssec-coverage.8.gz
%endif
%{_mandir}/man8/dnssec-dsfromkey.8.gz %{_mandir}/man8/dnssec-dsfromkey.8.gz
%{_mandir}/man8/dnssec-importkey.8.gz %{_mandir}/man8/dnssec-importkey.8.gz
%{_mandir}/man8/dnssec-keyfromlabel.8.gz %{_mandir}/man8/dnssec-keyfromlabel.8.gz

View File

@ -1,11 +0,0 @@
--- a/configure.in
+++ a/configure.in 2011/04/21 13:34:11
@@ -280,7 +280,7 @@
AC_C_INLINE
AC_C_VOLATILE
AC_CHECK_FUNC(sysctlbyname, AC_DEFINE(HAVE_SYSCTLBYNAME))
-AC_C_FLEXIBLE_ARRAY_MEMBER
+#AC_C_FLEXIBLE_ARRAY_MEMBER
#
# UnixWare 7.1.1 with the feature supplement to the UDK compiler