Debian Codegraph @

Specfile

raw
1 %define djbdns djbdns-1.02
2
3 Summary: LDAP to DNS gateway.
4 Name: ldap2dns
5 Version: %VERSION%
6 Release: %RELEASE%
7 Copyright: GPL
8 Group: Daemons/DNS
9 Source: ldap2dns-%{version}.tar.gz
10 BuildRoot: /var/tmp/%{name}-root
11 Requires: openldap
12
13 %description
14 ldap2dns is a program to create DNS records directly from an LDAP database. It can
15 be be used to replace the secondary name-server by a second primary one.
16 ldap2dns helps to reduce all kind of administration overhead. No more flat file editing,
17 no more zone file editing. After having installed ldap2dns, the administrator only has
18 to access the LDAP database.
19 If he desires he can add access control for each zone, create a webbased GUI and add
20 all other kind of zone and resource record information without interfering with the DNS
21 server.
22 ldap2dns is designed to write binary data.cdb files used by tinydns, but also may be
23 used to write .db-files used by named.
24
25 %prep
26 %setup
27
28 %build
29 make VERSION=%{version} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
30
31 %install
32 [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
33 make INSTALL_PREFIX=$RPM_BUILD_ROOT install
34
35 %clean
36 [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
37
38 %files
39 %defattr(-,root,root)
40 /usr/bin/ldap2dns
41 /usr/bin/ldap2dnsd
42 /usr/bin/ldap2tinydns-conf
43 %doc README.html
44 %doc import.pl
45 %config /etc/openldap/dns.at.conf
46 %config /etc/openldap/dns.oc.conf
47
48 %changelog
49 * Wed Dec 06 2000 Jacob Rief <[email protected]>
50 - initial revision for version 0.2.0
51