Compare commits
22 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd760e0427 | ||
|
|
af91f75952 | ||
|
|
5aba988c22 | ||
|
|
27b5ec9d99 | ||
|
|
4f175e26ce | ||
|
|
4470910255 | ||
|
|
3125898a75 | ||
|
|
2fa23df016 | ||
|
|
364ed8f0a4 | ||
|
|
398c818354 | ||
|
|
a915e8c437 | ||
|
|
c875f6d1da | ||
|
|
debb2743bf | ||
|
|
b90fa1018d | ||
|
|
8c358648ea | ||
| 87998cffa4 | |||
|
cef0bf1209 |
|||
|
|
a099e1a765 | ||
|
|
c865902185 | ||
|
|
19b378535b | ||
|
|
45323068fb | ||
|
|
e7eb1a0379 |
8 changed files with 1 additions and 4139 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,6 +0,0 @@
|
|||
/validns-0.3.tar.gz
|
||||
/validns-0.4.tar.gz
|
||||
/validns-0.5.tar.gz
|
||||
/validns-0.6.tar.gz
|
||||
/validns-0.7.tar.gz
|
||||
/validns-0.8.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Retired: Long term failure to build
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
3de6669b1c8794b21c25425d22215a9d validns-0.8.tar.gz
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,82 +0,0 @@
|
|||
diff -Naur validns-0.6-orig/common.h validns-0.6/common.h
|
||||
--- validns-0.6-orig/common.h 2012-08-13 05:37:10.000000000 -0400
|
||||
+++ validns-0.6/common.h 2012-10-11 22:56:19.744337127 -0400
|
||||
@@ -51,6 +51,7 @@
|
||||
int die_on_first_error;
|
||||
int no_output;
|
||||
int summary;
|
||||
+ int notiming;
|
||||
int verbose;
|
||||
char *include_path;
|
||||
char *current_origin;
|
||||
diff -Naur validns-0.6-orig/main.c validns-0.6/main.c
|
||||
--- validns-0.6-orig/main.c 2012-10-04 06:52:25.000000000 -0400
|
||||
+++ validns-0.6/main.c 2012-10-11 22:57:32.759118220 -0400
|
||||
@@ -251,6 +251,7 @@
|
||||
fprintf(stderr, "\t-n N\t\tuse N worker threads\n");
|
||||
fprintf(stderr, "\t-q\t\tquiet - do not produce any output\n");
|
||||
fprintf(stderr, "\t-s\t\tprint validation summary/stats\n");
|
||||
+ fprintf(stderr, "\t-x\t\tskip printing 'time taken' entry in summary/stats\n");
|
||||
fprintf(stderr, "\t-v\t\tbe extra verbose\n");
|
||||
fprintf(stderr, "\t-I path\tuse this path for $INCLUDE files\n");
|
||||
fprintf(stderr, "\t-z origin\tuse this origin as initial $ORIGIN\n");
|
||||
@@ -311,7 +312,7 @@
|
||||
initialize_globals();
|
||||
struct timeval start, stop;
|
||||
|
||||
- while ((o = getopt(argc, argv, "fhqsvI:z:t:p:n:")) != -1) {
|
||||
+ while ((o = getopt(argc, argv, "fhqsxvI:z:t:p:n:")) != -1) {
|
||||
switch(o) {
|
||||
case 'h':
|
||||
usage(NULL);
|
||||
@@ -325,6 +326,9 @@
|
||||
case 's':
|
||||
G.opt.summary = 1;
|
||||
break;
|
||||
+ case 'x':
|
||||
+ G.opt.notiming = 1;
|
||||
+ break;
|
||||
case 'v':
|
||||
G.opt.verbose = 1;
|
||||
break;
|
||||
@@ -412,8 +416,11 @@
|
||||
" %d\n", G.stats.not_authoritative);
|
||||
printf("validation errors: %d\n", G.stats.error_count);
|
||||
printf("signatures verified: %d\n", G.stats.signatures_verified);
|
||||
- printf("time taken: %.3fs\n",
|
||||
+
|
||||
+ if (!G.opt.notiming) {
|
||||
+ printf("time taken: %.3fs\n",
|
||||
stop.tv_sec - start.tv_sec + (stop.tv_usec - start.tv_usec)/1000000.);
|
||||
+ }
|
||||
}
|
||||
return G.exit_code;
|
||||
}
|
||||
diff -Naur validns-0.6-orig/usage.mdwn validns-0.6/usage.mdwn
|
||||
--- validns-0.6-orig/usage.mdwn 2012-10-04 10:52:43.000000000 -0400
|
||||
+++ validns-0.6/usage.mdwn 2012-10-11 22:58:30.330728403 -0400
|
||||
@@ -61,6 +61,9 @@
|
||||
-s
|
||||
: print validation summary/stats
|
||||
|
||||
+-x
|
||||
+: skip printing 'time taken' in summary/stats
|
||||
+
|
||||
-v
|
||||
: be extra verbose
|
||||
|
||||
diff -Naur validns-0.6-orig/validns.1 validns-0.6/validns.1
|
||||
--- validns-0.6-orig/validns.1 2012-10-04 10:53:32.000000000 -0400
|
||||
+++ validns-0.6/validns.1 2012-10-11 23:00:20.511885836 -0400
|
||||
@@ -73,6 +73,11 @@
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
+.B -x
|
||||
+skip printing timing summary/stats
|
||||
+.RS
|
||||
+.RE
|
||||
+.TP
|
||||
.B -v
|
||||
be extra verbose
|
||||
.RS
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
diff -Naur validns-0.7-orig/common.h validns-0.7/common.h
|
||||
--- validns-0.7-orig/common.h 2013-02-21 09:36:04.000000000 -0500
|
||||
+++ validns-0.7/common.h 2013-04-16 12:49:00.211645012 -0400
|
||||
@@ -51,6 +51,7 @@
|
||||
int die_on_first_error;
|
||||
int no_output;
|
||||
int summary;
|
||||
+ int notiming;
|
||||
int verbose;
|
||||
char *include_path;
|
||||
char *current_origin;
|
||||
diff -Naur validns-0.7-orig/main.c validns-0.7/main.c
|
||||
--- validns-0.7-orig/main.c 2013-04-11 14:33:53.000000000 -0400
|
||||
+++ validns-0.7/main.c 2013-04-16 12:50:46.210022408 -0400
|
||||
@@ -251,6 +251,7 @@
|
||||
fprintf(stderr, "\t-n N\t\tuse N worker threads\n");
|
||||
fprintf(stderr, "\t-q\t\tquiet - do not produce any output\n");
|
||||
fprintf(stderr, "\t-s\t\tprint validation summary/stats\n");
|
||||
+ fprintf(stderr, "\t-x\t\tskip printing 'time taken' entry in summary/stats\n");
|
||||
fprintf(stderr, "\t-v\t\tbe extra verbose\n");
|
||||
fprintf(stderr, "\t-I path\tuse this path for $INCLUDE files\n");
|
||||
fprintf(stderr, "\t-z origin\tuse this origin as initial $ORIGIN\n");
|
||||
@@ -325,7 +326,7 @@
|
||||
struct timeval start, stop;
|
||||
|
||||
initialize_globals();
|
||||
- while ((o = getopt(argc, argv, "fhqsvI:z:t:p:n:")) != -1) {
|
||||
+ while ((o = getopt(argc, argv, "fhqsxvI:z:t:p:n:")) != -1) {
|
||||
switch(o) {
|
||||
case 'h':
|
||||
usage(NULL);
|
||||
@@ -339,6 +340,9 @@
|
||||
case 's':
|
||||
G.opt.summary = 1;
|
||||
break;
|
||||
+ case 'x':
|
||||
+ G.opt.notiming = 1;
|
||||
+ break;
|
||||
case 'v':
|
||||
G.opt.verbose = 1;
|
||||
break;
|
||||
@@ -426,8 +430,10 @@
|
||||
" %d\n", G.stats.not_authoritative);
|
||||
printf("validation errors: %d\n", G.stats.error_count);
|
||||
printf("signatures verified: %d\n", G.stats.signatures_verified);
|
||||
- printf("time taken: %.3fs\n",
|
||||
+ if (!G.opt.notiming) {
|
||||
+ printf("time taken: %.3fs\n",
|
||||
stop.tv_sec - start.tv_sec + (stop.tv_usec - start.tv_usec)/1000000.);
|
||||
+ }
|
||||
}
|
||||
return G.exit_code;
|
||||
}
|
||||
diff -Naur validns-0.7-orig/usage.mdwn validns-0.7/usage.mdwn
|
||||
--- validns-0.7-orig/usage.mdwn 2013-04-16 06:36:45.000000000 -0400
|
||||
+++ validns-0.7/usage.mdwn 2013-04-16 12:51:12.528364293 -0400
|
||||
@@ -61,6 +61,9 @@
|
||||
-s
|
||||
: print validation summary/stats
|
||||
|
||||
+-x
|
||||
+: skip printing 'time taken' in summary/stats
|
||||
+
|
||||
-v
|
||||
: be extra verbose
|
||||
|
||||
diff -Naur validns-0.7-orig/validns.1 validns-0.7/validns.1
|
||||
--- validns-0.7-orig/validns.1 2013-04-16 06:36:58.000000000 -0400
|
||||
+++ validns-0.7/validns.1 2013-04-16 12:51:36.963681678 -0400
|
||||
@@ -73,6 +73,11 @@
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
+.B -x
|
||||
+skip printing timing summary/stats
|
||||
+.RS
|
||||
+.RE
|
||||
+.TP
|
||||
.B -v
|
||||
be extra verbose
|
||||
.RS
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
diff -Naur validns-0.8-orig/common.h validns-0.8/common.h
|
||||
--- validns-0.8-orig/common.h 2014-02-11 15:45:02.000000000 -0500
|
||||
+++ validns-0.8/common.h 2014-02-11 16:18:03.578140738 -0500
|
||||
@@ -53,6 +53,7 @@
|
||||
int die_on_first_error;
|
||||
int no_output;
|
||||
int summary;
|
||||
+ int notiming;
|
||||
int verbose;
|
||||
char *include_path;
|
||||
char *current_origin;
|
||||
diff -Naur validns-0.8-orig/main.c validns-0.8/main.c
|
||||
--- validns-0.8-orig/main.c 2014-02-11 15:47:10.000000000 -0500
|
||||
+++ validns-0.8/main.c 2014-02-11 16:18:03.579140774 -0500
|
||||
@@ -253,6 +253,7 @@
|
||||
fprintf(stderr, "\t-n N\t\tuse N worker threads\n");
|
||||
fprintf(stderr, "\t-q\t\tquiet - do not produce any output\n");
|
||||
fprintf(stderr, "\t-s\t\tprint validation summary/stats\n");
|
||||
+ fprintf(stderr, "\t-x\t\tskip printing 'time taken' entry in summary/stats\n");
|
||||
fprintf(stderr, "\t-v\t\tbe extra verbose\n");
|
||||
fprintf(stderr, "\t-I path\tuse this path for $INCLUDE files\n");
|
||||
fprintf(stderr, "\t-z origin\tuse this origin as initial $ORIGIN\n");
|
||||
@@ -328,7 +329,7 @@
|
||||
struct timeval start, stop;
|
||||
|
||||
initialize_globals();
|
||||
- while ((o = getopt(argc, argv, "fhqsvI:z:t:p:n:")) != -1) {
|
||||
+ while ((o = getopt(argc, argv, "fhqsxvI:z:t:p:n:")) != -1) {
|
||||
switch(o) {
|
||||
case 'h':
|
||||
usage(NULL);
|
||||
@@ -342,6 +343,9 @@
|
||||
case 's':
|
||||
G.opt.summary = 1;
|
||||
break;
|
||||
+ case 'x':
|
||||
+ G.opt.notiming = 1;
|
||||
+ break;
|
||||
case 'v':
|
||||
G.opt.verbose = 1;
|
||||
break;
|
||||
@@ -431,8 +435,10 @@
|
||||
" %d\n", G.stats.not_authoritative);
|
||||
printf("validation errors: %d\n", G.stats.error_count);
|
||||
printf("signatures verified: %d\n", G.stats.signatures_verified);
|
||||
- printf("time taken: %.3fs\n",
|
||||
+ if (!G.opt.notiming) {
|
||||
+ printf("time taken: %.3fs\n",
|
||||
stop.tv_sec - start.tv_sec + (stop.tv_usec - start.tv_usec)/1000000.);
|
||||
+ }
|
||||
}
|
||||
return G.exit_code;
|
||||
}
|
||||
diff -Naur validns-0.8-orig/usage.mdwn validns-0.8/usage.mdwn
|
||||
--- validns-0.8-orig/usage.mdwn 2014-02-11 15:42:32.000000000 -0500
|
||||
+++ validns-0.8/usage.mdwn 2014-02-11 16:18:03.579140774 -0500
|
||||
@@ -61,6 +61,9 @@
|
||||
-s
|
||||
: print validation summary/stats
|
||||
|
||||
+-x
|
||||
+: skip printing 'time taken' in summary/stats
|
||||
+
|
||||
-v
|
||||
: be extra verbose
|
||||
|
||||
diff -Naur validns-0.8-orig/validns.1 validns-0.8/validns.1
|
||||
--- validns-0.8-orig/validns.1 2014-02-11 15:43:21.000000000 -0500
|
||||
+++ validns-0.8/validns.1 2014-02-11 16:18:45.445846013 -0500
|
||||
@@ -73,6 +73,11 @@
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
+.B -x
|
||||
+skip printing timing summary/stats
|
||||
+.RS
|
||||
+.RE
|
||||
+.TP
|
||||
.B \-v
|
||||
be extra verbose
|
||||
.RS
|
||||
91
validns.spec
91
validns.spec
|
|
@ -1,91 +0,0 @@
|
|||
Summary: DNS and DNSSEC zone file validator
|
||||
Name: validns
|
||||
Version: 0.8
|
||||
Release: 6%{?dist}
|
||||
License: BSD
|
||||
Url: http://www.validns.net/
|
||||
Source: http://www.validns.net/download/%{name}-%{version}.tar.gz
|
||||
Patch1: validns-0.8-timing.patch
|
||||
Group: Applications/Internet
|
||||
BuildRequires: Judy-devel, openssl-devel
|
||||
|
||||
%description
|
||||
DNS and DNSSEC zone file validator. It comes with no man page and no
|
||||
useful README or information, but it's a nice tool anyway :)
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .timing
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags}
|
||||
gzip validns.1
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_bindir} %{buildroot}/%{_mandir}/man1/
|
||||
install -m 755 validns %{buildroot}/%{_bindir}/
|
||||
cp -a validns.1.gz %{buildroot}/%{_mandir}/man1/
|
||||
|
||||
%files
|
||||
%doc LICENSE README
|
||||
%{_bindir}/validns
|
||||
%{_mandir}/man1/validns.1.gz
|
||||
|
||||
%changelog
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Tue Feb 11 2014 Paul Wouters <pwouters@redhat.com> - 0.8-1
|
||||
- Updated to 0.8 for sha-384 support in DS records
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Apr 16 2013 Paul Wouters <pwouters@redhat.com> - 0.7-1
|
||||
- Updated to 0.7.
|
||||
- Removed some el-5 only spec attributes
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Oct 12 2012 Paul Wouters <pwouters@redhat.com> - 0.6-2
|
||||
- Added -x option to skip timing info in statistics
|
||||
|
||||
* Thu Oct 04 2012 Paul Wouters <pwouters@redhat.com> - 0.6-1
|
||||
- Updated to 0.6, which incorporates all patches
|
||||
|
||||
* Thu Oct 04 2012 Paul Wouters <pwouters@redhat.com> - 0.5-4
|
||||
- Pullup from git for NSEC3 glue record handling fix
|
||||
|
||||
* Fri Aug 24 2012 Paul Wouters <pwouters@redhat.com> - 0.5-3
|
||||
- Patch for handling NSEC/NSEC3 camelcasing
|
||||
- Support TLSA records
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Jun 07 2012 Paul Wouters <pwouters@redhat.com> - 0.5-1
|
||||
- Updated to 0.5 which supports Parallelize signature verification
|
||||
- Install man page
|
||||
|
||||
* Tue May 01 2012 Paul Wouters <pwouters@redhat.com> - 0.4-1
|
||||
- Updated to 0.4 which fixes a TXT record parsing bug
|
||||
|
||||
* Tue Feb 28 2012 Paul Wouters <pwouters@redhat.com> - 0.3-2
|
||||
- Added missing BuildRequire for openssl-devel
|
||||
|
||||
* Mon Feb 13 2012 Paul Wouters <pwouters@redhat.com> - 0.3-1
|
||||
- Initial package
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue