This commit is contained in:
parent
3ab0aa4547
commit
691a93b067
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:40b014bb2109565caaad8cec4c91995c57a53d9a8ad17a7387425bd1f8e817b9
|
||||
size 8262
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 5 17:32:56 CET 2007 - ug@suse.de
|
||||
|
||||
- SuSEFirewall service file added (#246920)
|
||||
fate #300687
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 14:53:22 CET 2007 - ug@suse.de
|
||||
|
||||
|
10
bind.spec
10
bind.spec
@ -16,7 +16,7 @@ Name: bind
|
||||
BuildRequires: openssl openssl-devel
|
||||
Summary: Domain Name System (DNS) Server (named)
|
||||
Version: 9.4.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
%define SDB_LDAP_VERSION 1.0-beta
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Productivity/Networking/DNS/Servers
|
||||
@ -280,7 +280,8 @@ mkdir -p \
|
||||
${RPM_BUILD_ROOT}/var/lib/named/{etc/named.d,dev,dyn,log,master,slave,var/{lib,run/named}} \
|
||||
${RPM_BUILD_ROOT}%{_mandir}/{man1,man3,man5,man8} \
|
||||
${RPM_BUILD_ROOT}/var/adm/fillup-templates \
|
||||
${RPM_BUILD_ROOT}/var/run
|
||||
${RPM_BUILD_ROOT}/var/run \
|
||||
${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
|
||||
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
|
||||
pushd contrib/idn/idnkit-1.0-src
|
||||
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
|
||||
@ -311,6 +312,7 @@ ln -s ../lib/named/var/run/named ${RPM_BUILD_ROOT}/var/run
|
||||
for file in named-common named-named syslog-named; do
|
||||
install -m 0644 vendor-files/sysconfig/${file} ${RPM_BUILD_ROOT}/var/adm/fillup-templates/sysconfig.${file}
|
||||
done
|
||||
install -m 644 vendor-files/sysconfig/SuSEFirewall.named %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/bind
|
||||
# Cleanup doc
|
||||
rm doc/misc/Makefile*
|
||||
# Remove samples
|
||||
@ -569,6 +571,7 @@ fi
|
||||
%config %{_var}/lib/named/localhost.zone
|
||||
%ghost %{_var}/lib/named/etc/localtime
|
||||
%attr(0644,root,named) %ghost %{_var}/lib/named/etc/named.conf.include
|
||||
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/bind
|
||||
|
||||
%files chrootenv
|
||||
%defattr(-,root,root)
|
||||
@ -652,6 +655,9 @@ fi
|
||||
%doc %{_mandir}/man5/idnrc.5.gz
|
||||
|
||||
%changelog
|
||||
* Mon Mar 05 2007 - ug@suse.de
|
||||
- SuSEFirewall service file added (#246920)
|
||||
fate #300687
|
||||
* Tue Feb 27 2007 - ug@suse.de
|
||||
- version 9.3.4 to 9.4.0
|
||||
- too many changes to list them all here. Please see
|
||||
|
@ -1,42 +0,0 @@
|
||||
--- bin/named/Makefile.in
|
||||
+++ bin/named/Makefile.in 2004/11/26 09:41:06
|
||||
@@ -26,10 +26,10 @@
|
||||
#
|
||||
# Add database drivers here.
|
||||
#
|
||||
-DBDRIVER_OBJS =
|
||||
-DBDRIVER_SRCS =
|
||||
+DBDRIVER_OBJS = ldapdb.@O@
|
||||
+DBDRIVER_SRCS = ldapdb.c
|
||||
DBDRIVER_INCLUDES =
|
||||
-DBDRIVER_LIBS =
|
||||
+DBDRIVER_LIBS = -lldap
|
||||
|
||||
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
|
||||
${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
|
||||
--- bin/named/main.c
|
||||
+++ bin/named/main.c 2004/11/26 09:47:52
|
||||
@@ -71,6 +71,7 @@
|
||||
* Include header files for database drivers here.
|
||||
*/
|
||||
/* #include "xxdb.h" */
|
||||
+#include <ldapdb.h>
|
||||
|
||||
static isc_boolean_t want_stats = ISC_FALSE;
|
||||
static char program_name[ISC_DIR_NAMEMAX] = "named";
|
||||
@@ -647,6 +648,7 @@
|
||||
* Add calls to register sdb drivers here.
|
||||
*/
|
||||
/* xxdb_init(); */
|
||||
+ ldapdb_init();
|
||||
|
||||
ns_server_create(ns_g_mctx, &ns_g_server);
|
||||
}
|
||||
@@ -663,6 +665,7 @@
|
||||
* Add calls to unregister sdb drivers here.
|
||||
*/
|
||||
/* xxdb_clear(); */
|
||||
+ ldapdb_clear();
|
||||
|
||||
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
||||
ISC_LOG_NOTICE, "exiting");
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34e8782af986820257cc9b99c78ff55bea9e3e1c158bcd1ea3aa84573bd31f9c
|
||||
size 19657
|
||||
oid sha256:ebb040c8f2a4f316d78ef195b96b14ef98cca4ef424aad80d8fdbf260c86abab
|
||||
size 19922
|
||||
|
Loading…
Reference in New Issue
Block a user