rpms/dumpasn1/devel dumpasn1.1, NONE, 1.1 .cvsignore, 1.3, 1.4 dumpasn1.spec, 1.9, 1.10 sources, 1.8, 1.9

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Aug 2 09:57:03 UTC 2008


Author: scop

Update of /cvs/pkgs/rpms/dumpasn1/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10884

Modified Files:
	.cvsignore dumpasn1.spec sources 
Added Files:
	dumpasn1.1 
Log Message:
* Sat Aug  2 2008 Ville Skyttä <ville.skytta at iki.fi> - 20080414-2
- Update to 20080708 updated sources (upstream version unchanged).
- Drop Debian patchset, just include man page from it separately.



--- NEW FILE dumpasn1.1 ---
.TH dumpasn1 1 User Manuals
.SH NAME
dumpasn1 \- ASN.1 object dump/syntax check program
.SH SYNOPSIS
\fB/usr/bin/dumpasn1 [\fIoptions\fB] \fIfile\fB
\f1
.SH DESCRIPTION
An ASN.1 object dump program which will dump data encoded using any of the ASN.1 encoding rules in a variety of user-specified formats.
.SH OPTIONS
.TP
\fB-\f1
Take input from stdin (some options may not work properly). 
.TP
\fB-\f1\fInumber\f1
Start \fInumber\f1 bytes into the file. 
.TP
\fB--\f1
End of arg list. 
.TP
\fB-a\f1
Print all data in long data blocks, not just the first 128 bytes. 
.TP
\fB-c\f1 \fIfile\f1
Read Object Identifier info from alternate config file (values will override equivalents in global config file) 
.TP
\fB-d\f1
Print dots to show column alignment. 
.TP
\fB-e\f1
Don't print encapsulated data inside OCTET/BIT STRINGs. 
.TP
\fB-f\f1 \fIfile\f1
Dump object at offset -\fInumber\f1 to file (allows data to be extracted from encapsulating objects) 
.TP
\fB-h\f1
Hex dump object header (tag+length) before the decoded output 
.TP
\fB-hh\f1
Same as -h but display more of the object as hex data. 
.TP
\fB-l\f1
Long format, display extra info about Object Identifiers. 
.TP
\fB-o\f1
Don't check validity of character strings hidden in octet strings. 
.TP
\fB-p\f1
Pure ASN.1 output without encoding information. 
.TP
\fB-r\f1
Print bits in BIT STRING as encoded in reverse order 
.TP
\fB-s\f1
Syntax check only, don't dump ASN.1 structures. 
.TP
\fB-t\f1
Display text values next to hex dump of data. 
.TP
\fB-u\f1
Don't format UTCTime/GeneralizedTime string data. 
.TP
\fB-x\f1
Display size and offset in hex not decimal. 
.SH FILES
\fI./dumpasn1.cfg, $HOME/.dumpasn1.cfg, /etc/dumpasn1/dumpasn1.cfg\f1: This is the configuration file, it will be searched in this order. It contains OIDs commonly used. 
.SH AUTHORS
qoute from Peter Gutmann:

ASN.1 object dumping code, copyright Peter Gutmann <pgut001 at cs.auckland.ac.nz>, based on ASN.1 dump program by David Kemp <dpkemp at missi.ncsc.mil>, with contributions from various people including Matthew Hamrick <hamrick at rsa.com>, Bruno Couillard <bcouillard at chrysalis-its.com>, Hallvard Furuseth <h.b.furuseth at usit.uio.no>, Geoff Thorpe <geoff at raas.co.nz>, David Boyce <d.boyce at isode.com>, John Hughes <john.hughes at entegrity.com>, Life is hard, and then you die <ronald at trustpoint.com>, Hans-Olof Hermansson <hans-olof.hermansson at postnet.se>, Tor Rustad <Tor.Rustad at bbs.no>, Kjetil Barvik <kjetil.barvik at bbs.no>, James Sweeny <jsweeny at us.ibm.com>, and several other people whose names I've misplaced.

dumpasn1 is available at \fBhttp://www.cs.auckland.ac.nz/~pgut001/\f1
.SH COMMENTS
This man page was written using \fBxml2man(1)\f1 by Oliver Kurth for Debian.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/dumpasn1/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	15 Aug 2005 20:30:48 -0000	1.3
+++ .cvsignore	2 Aug 2008 09:56:33 -0000	1.4
@@ -1,3 +1,2 @@
-dumpasn1_20030222-1.diff.gz
 dumpasn1.c
 dumpasn1.cfg


Index: dumpasn1.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dumpasn1/devel/dumpasn1.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- dumpasn1.spec	2 May 2008 07:15:45 -0000	1.9
+++ dumpasn1.spec	2 Aug 2008 09:56:33 -0000	1.10
@@ -1,14 +1,15 @@
 Name:           dumpasn1
 Version:        20080414
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        ASN.1 object dump utility
 
 Group:          Development/Tools
 License:        Copyright only
 URL:            http://www.cs.auckland.ac.nz/~pgut001/
-Source0:        http://www.cs.auckland.ac.nz/~pgut001/%{name}.c
-Source1:        http://www.cs.auckland.ac.nz/~pgut001/%{name}.cfg
-Patch0:         http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_20030222-1.diff.gz
+Source0:        http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c
+Source1:        http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.cfg
+# man page extracted from http://ftp.debian.org/debian/pool/main/d/dumpasn1/dumpasn1_20030222-1.diff.gz
+Source2:        dumpasn1.1
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  sed >= 3.95
@@ -21,15 +22,13 @@
 
 %prep
 %setup -q -c -T
-install -pm 644 %{SOURCE0} .
-%patch0 -p1
-# -std=c99 for fwide
-sed -i -e 's|\bgcc |\$(CC) \$(RPM_OPT_FLAGS) -std=c99 |' Makefile
-sed -i -e 's|/etc/dumpasn1/|%{_sysconfdir}/dumpasn1/|' dumpasn1.{c,1*}
+install -pm 644 %{SOURCE0} %{SOURCE2} .
+sed -i -e 's|/etc/dumpasn1/|%{_sysconfdir}/dumpasn1/|' dumpasn1.{c,1}
 
 
 %build
-make %{?_smp_mflags} CC="%{__cc}"
+# -std=c99 for fwide
+%{__cc} $RPM_OPT_FLAGS -std=c99 -DDEBIAN -o dumpasn1 dumpasn1.c
 
 
 %install
@@ -45,13 +44,16 @@
 
 %files
 %defattr(-,root,root,-)
-%doc debian/README.Debian debian/copyright
 %config(noreplace) %{_sysconfdir}/dumpasn1/
 %{_bindir}/dumpasn1
 %{_mandir}/man1/dumpasn1.1*
 
 
 %changelog
+* Sat Aug  2 2008 Ville Skyttä <ville.skytta at iki.fi> - 20080414-2
+- Update to 20080708 updated sources (upstream version unchanged).
+- Drop Debian patchset, just include man page from it separately.
+
 * Fri May  2 2008 Ville Skyttä <ville.skytta at iki.fi> - 20080414-1
 - Update to 20080414.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/dumpasn1/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	2 May 2008 07:15:45 -0000	1.8
+++ sources	2 Aug 2008 09:56:33 -0000	1.9
@@ -1,3 +1,2 @@
-4d3bff6213cc455af94846a0485ca743  dumpasn1_20030222-1.diff.gz
-db7f16be37e9f504c296e9dbe0e31074  dumpasn1.cfg
-4c50eda30926a9e2afbd8f1cdf2d97a4  dumpasn1.c
+3011f6cbe11c416f22ea39ced7687b47  dumpasn1.c
+3a8821db7bd35021d80f119c3eac181a  dumpasn1.cfg




More information about the fedora-extras-commits mailing list