Author: deebses
Update of /cvs/nonfree/rpms/doc/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30716/F-8
Modified Files:
.cvsignore sources
Added Files:
doc-2.2.3.patch doc.spec
Log Message:
new rpmfusion package from dribble repo
doc-2.2.3.patch:
--- NEW FILE doc-2.2.3.patch ---
diff -urN doc-2.2.3.dist/doc.8 doc-2.2.3/doc.8
--- doc-2.2.3.dist/doc.8 2007-06-28 13:38:30.000000000 +1000
+++ doc-2.2.3/doc.8 2007-06-28 13:45:52.000000000 +1000
@@ -84,18 +84,18 @@
before the domain names.
.SH FILES CREATED
In addition to the standard output, \fIdoc\fP produces a log file
-named log.<domain_name>, which it places in the current
-directory. This file includes all "verbose" level comments,
-followed by the nameserver responses to the queries (in a
-slightly masticated form).
+named log.<domain_name>, which it places in the .doclogs directory
+in the users home directory. This file includes all "verbose"
+level comments, followed by the nameserver responses to the queries
+(in a slightly masticated form).
.sp 1
While running, \fIdoc\fP creates several temporary files in the
-current directory. These files have names of the form:
+~/.doclogs/ directory. These files have names of the form:
.sp 1
<domain_name>.*
.SH FILES USED
\fIDoc\fP expects the auxiliary files: doc1.awk, doc3.awk, and
-doc4.awk to reside in the current working directory. This can be
+doc4.awk to reside in the current libexec directory. This can be
overridden by changing the program to look for them in a directory
indicated in a shell variable intended for this purpose. If your
System Administrator installed \fIdoc\fP, they'll need to make the
diff -urN doc-2.2.3.dist/doc.txt doc-2.2.3/doc.txt
--- doc-2.2.3.dist/doc.txt 2007-06-28 13:38:30.000000000 +1000
+++ doc-2.2.3/doc.txt 2007-06-28 13:46:50.000000000 +1000
@@ -92,19 +92,20 @@
the domain names.
FILES CREATED
- In addition to the standard output, doc produces a log file named
- log.<domain_name>, which it places in the current directory. This
- file includes all "verbose" level comments, followed by the nameserver
- responses to the queries (in a slightly masticated form).
+ In addition to the standard output, doc produces a log file
+ named log.<domain_name>, which it places in the .doclogs directory
+ in the users home directory. This file includes all "verbose"
+ level comments, followed by the nameserver responses to the queries
+ (in a slightly masticated form).
- While running, doc creates several temporary files in the current
+ While running, doc creates several temporary files in the ~/.doclogs/
directory. These files have names of the form:
<domain_name>.*
FILES USED
Doc expects the auxiliary files: doc1.awk, doc3.awk, and doc4.awk to
- reside in the current working directory. This can be overridden by
+ reside in the libexec working directory. This can be overridden by
changing the program to look for them in a directory indicated in a
shell variable intended for this purpose. If your System
Administrator installed doc, they'll need to make the necessary
--- NEW FILE doc.spec ---
Summary: Diagnose unhealthy DNS domains
Name: doc
Version: 2.2.3
Release: 3%{?dist}
License: Distributable
URL:
http://www.shub-internet.org/brad/dns/
Group: Applications/Internet
Source0:
ftp://ftp.shub-internet.org/pub/shub/brad/dns/%{name}-%{version}.tar.bz2
Patch1: doc-2.2.3.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: bind-utils
%description
Doc is an automated tool for verifying (to an extent) that a domain
is configured and functioning correctly. It makes no attempt to
validate the data inside a domain, only the structure. The only
required parameter is the valid domain name of an existing domain.
%prep
%setup -q
%patch1 -p1
sed -i "s|#set auxd=/users/brad/bin/doc-2.2.3/|set auxd=%{_libexecdir}/|g" doc
sed -i 's|set logdir="."|set logdir="~/.doclogs/"\nmkdir -p
$logdir|' doc
mv doc-1.awk doc-1.awk.noshebang
mv doc-3.awk doc-3.awk.noshebang
mv doc-4.awk doc-4.awk.noshebang
echo "#!/bin/awk" >doc-1.awk
echo "#!/bin/awk" >doc-3.awk
echo "#!/bin/awk" >doc-4.awk
cat doc-1.awk.noshebang >>doc-1.awk
cat doc-3.awk.noshebang >>doc-3.awk
cat doc-4.awk.noshebang >>doc-4.awk
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man8
mkdir -p %{buildroot}%{_libexecdir}
install -m 0755 doc %{buildroot}%{_bindir}
install -m 0755 doc-1.awk %{buildroot}%{_libexecdir}
install -m 0755 doc-3.awk %{buildroot}%{_libexecdir}
install -m 0755 doc-4.awk %{buildroot}%{_libexecdir}
install -m 0644 doc.8 %{buildroot}%{_mandir}/man8
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc doc.txt README INFO RFC.XXXX
%doc %{_mandir}/man8/*
%{_bindir}/*
%{_libexecdir}/*
%changelog
* Fri Jun 29 2007 Marc Bradshaw <packages(a)marcbradshaw.co.uk> 2.2.3-3%{?dist}
- tidyup patch and setup sections of specfile
* Thu Jun 28 2007 Marc Bradshaw <packages(a)marcbradshaw.co.uk> 2.2.3-2%{?dist}
- drop unnecessary gawk requirement
- move .awk files to libexec dir
- move default logfiles into ~/.doclogs/
- fix documentation files install location
* Wed Jun 20 2007 Marc Bradshaw <packages(a)marcbradshaw.co.uk> 2.2.3-1%{?dist}
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/doc/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:29:42 -0000 1.1
+++ .cvsignore 8 Oct 2008 22:56:31 -0000 1.2
@@ -0,0 +1 @@
+doc-2.2.3.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/doc/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:29:42 -0000 1.1
+++ sources 8 Oct 2008 22:56:31 -0000 1.2
@@ -0,0 +1 @@
+04bf975619e2f6ebf6a6328d8702b743 doc-2.2.3.tar.bz2