]> git.pld-linux.org Git - packages/maradns.git/blobdiff - maradns.spec
- missing dir
[packages/maradns.git] / maradns.spec
index ea4328e7a010a0beb6067ea35f2a8d0008c02c27..a564b378a386a6c5d4dae1bbd1cf7c96fc9b3c1a 100644 (file)
@@ -1,16 +1,17 @@
 Summary:       A (currently) authoritative-only DNS server made with security in mind
 Summary(pl):   Tylko autorytatywny (na razie) serwer DNS zrobiony z my¶l± o bezpieczeñstwie
 Name:          maradns
-Version:       1.1.22
-Release:       3
+Version:       1.1.30
+Release:       1
 License:       Public Domain
 Group:         Networking/Daemons
 Source0:       http://www.maradns.org/download/1.1/%{name}-%{version}.tar.bz2
-# Source0-md5: e7f2d1d61c551aaa31373d5b334f9307
+# Source0-md5: ade9dc785711e8510d2fe3bf03aac85a
 Source1:       %{name}.init
 Source2:       zoneserver.init
 Source3:       mararc
 Patch0:                %{name}-default_uid.patch
+URL:           http://www.maradns.org/
 BuildRequires: rpmbuild(macros) >= 1.159
 PreReq:                rc-scripts
 Requires(pre): /bin/id
@@ -63,7 +64,7 @@ transfery stref itp.
 %patch0 -p1
 
 # kill precompiled x86 objects
-rm -f {qual,tcp}/*.o
+rm -f {parse,qual,tcp}/*.o
 
 %build
 %{__make} \
@@ -100,8 +101,8 @@ rm -rf doc/*/man
 rm -rf $RPM_BUILD_ROOT
 
 %pre
-if [ -n "`getgid named" ]; then
-       if [ "`getgid named`" != "58" ]; then
+if [ -n "`/usr/bin/getgid named`" ]; then
+       if [ "`/usr/bin/getgid named`" != "58" ]; then
                echo "Error: group named doesn't have gid=58. Correct this before installing maradns." 1>&2
                exit 1
        fi
@@ -112,13 +113,13 @@ else
                /usr/sbin/groupadd -g 58 named
        fi
 fi
-if [ -n "`id -u named 2>/dev/null`" ]; then
-       if [ "`id -u named`" != "58" ]; then
+if [ -n "`/bin/id -u named 2>/dev/null`" ]; then
+       if [ "`/bin/id -u named`" != "58" ]; then
                echo "Error: user named doesn't have uid=58. Correct this before installing maradns." 1>&2
                exit 1
        fi
 else
-       if [ -n "`id -u maradns 2>/dev/null`" -a "`id -u maradns`" = "58" ]; then
+       if [ -n "`/bin/id -u maradns 2>/dev/null`" -a "`/bin/id -u maradns`" = "58" ]; then
                /usr/sbin/usermod -d /tmp -l named maradns
        else
                /usr/sbin/useradd -u 58 -g 58 -d /tmp -s /bin/false -c "maraDNS user" named
@@ -175,12 +176,14 @@ fi
 %attr(755,root,root) %{_sbindir}/getzone
 %attr(755,root,root) %{_sbindir}/maradns
 %attr(755,root,root) %{_bindir}/*
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mararc
-%attr(640,root,root) %config %verify(not size mtime md5) %{_sysconfdir}/maradns/db.example.com
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mararc
+%dir %{_sysconfdir}/maradns
+%attr(640,root,root) %config %verify(not md5 mtime size) %{_sysconfdir}/maradns/db.example.com
 %attr(640,root,root) %ghost %{_localstatedir}/log/maradns
 %{_mandir}/man1/*
 %{_mandir}/man5/*
 %{_mandir}/man8/maradns*
+%{_mandir}/man8/duende*
 %lang(fr) %{_mandir}/fr/man1/*
 %lang(fr) %{_mandir}/fr/man5/*
 %lang(fr) %{_mandir}/fr/man8/maradns*
This page took 0.148229 seconds and 4 git commands to generate.