debian/0000755000000000000000000000000012164152412007164 5ustar debian/source/0000755000000000000000000000000012164116017010465 5ustar debian/source/format0000644000000000000000000000001412164116017011673 0ustar 3.0 (quilt) debian/README.Debian0000644000000000000000000000647712164116017011244 0ustar snacc for Debian ---------------- Help appreciated: 1. Snacc is an old-style-ASN.1 compiler, a lot of people even say it's totally obsolete. I don't think it's reasonable to hack on it to make it compliant with the latest ASN.1 standards. ASN.1 has changed a lot, has a lot of new features (object information classes, constraints, parameterisation) and additional encoding rules (PER - Packed Encoding Rules, XER - XML Encoding Rules. The upcoming ECN (encoding control notation) will even give the user complete control over the encoding. Therefore, a completely new, all-purpose, free ASN.1 compiler is needed. If you have written one, please drop me a letter - I would be happy to package it for Debian GNU/Linux. Note (2008): asn1c is packaged for Debian. 2. The snacc development has split up since 1997: 2.1 The root-of-all-snacc is by M. Sample and G. Neufeld, later maintained by R. Joop and later by S. Wangnick. The last version has been called 1.3b4, AFAIK. The last ChangeLog entry is from 1997-09-16. I tried to contact the original authors, but never got any sign of life. 2.2 BBN Technologies changed the build process of this version to use GNU automake and libtool and fixed some things. The Debian package uses this version, because it builds easily. The Debian package adds the examples from older snacc versions. Good work, but please update the ChangeLog next time :-) They called their version 1.3 - I renamed it to 1.3bbn, to avoid confusion with the old 1.3 version. The last ChangeLog entry is from 1997-10-10. Some people seem to use and enhance this version heavily, e.g. see bug report #202593 by Kai Henningsen . 2.3 DigitalNet (formerly Getronics Government Solutions (formerly J.G. Van Dyke & Associates, Inc)) changed snacc in parallel: They added support for DER (Distinguished Encoding Rules) and some string types. Their branch is called eSNACC. Unfortunately - last I checked - they don't use GNU automake and libtool, but some proprietary build techniques (*.dsw and *.dsp files), so this version does not build as cleanly as BBNs under UNIX. Also, they renamed files, ingnoring the GNU coding standard, e.g. they renamed `ChangeLog', `NEWS', `README' and everything else to all lower-case. They even renamed all .C files into .cpp. The latest version is 1.5.1 from 2003-05. But they do not update the ChangeLog, so the last entry is from 1997-09-16. Download it from http://www.digitalnet.com/knowledge/snacc_lib.htm, source: http://www.digitalnet.com/knowledge/snacc_lib/esnacc-1.5.1.tgz. 2.4 There is also a "Snacc for Java" (by IBM, I think). I don't know anything about it. It would be worthwhile to re-integrate the approaches 2.2 and 2.3. OTOH, it would be a lot of work, better spend with 1., see above. 3. The Debian build of snacc leaves out the ASN.1 tree viewer/editor. If anybody needs it and is able to compile the latest version of the Tcl/Tk tree widget with latest version of Tcl/Tk, please package it. Or better, write a new one, based on 1. and PyGTK. -- W. Martin Borgert , 2003-08-10T08:15+0000 debian/berdecode.dbk0000644000000000000000000000613212164116017011565 0ustar W. Martin"> Borgert"> 2000-04-25"> 1"> debacle@debian.org"> berdecode"> Debian GNU/Linux"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2000 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; decode BER encoded data &dhpackage; Description This program reads a binary ASN.1 grammar file generated by snacc and uses it to decode ASN.1 BER encoded data from files or stdin. From every message the first <bytestostrip> bytes (default 2) are skipped. Flag gives additional information during decoding. This manual page was written for the &debian; distribution because the original program does have only a README file. See Also snacc (1), mkchdr(1), ptbl(1), pval(1), snacc-config(1). Please install the snacc-doc package for more information on snacc. Author This manual page was written by &dhusername; (&dhemail;) for the &debian; system. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.
debian/changelog0000644000000000000000000001436712164116017011052 0ustar snacc (1.3.1-4) unstable; urgency=low * debian/control - bump standards version to 3.9.4, no change was needed - remove DM-Upload-Allowed field * override package-name-doesnt-match-sonames Lintian warning * pick 01_Fix-options-parsing-in-snacc.patch and 02_Fix-printing-version-information-in-berdecode.patch from upstream to fix crashes reported by The Mayhem Team -- Balint Reczey Sun, 30 Jun 2013 22:47:59 +0200 snacc (1.3.1-2) unstable; urgency=low [ Bart Martens ] * add watch file [ Balint Reczey ] * multiarch support -- Balint Reczey Mon, 07 Jan 2013 18:49:00 +0100 snacc (1.3.1-1) unstable; urgency=low * Adopting the package (Closes: #572884) * New upstream release 1.3.1 from new upstream - fix autoreconf warnings (Closes: #506439) - fix FTBS with -Werror=format-security (Closes: #654403) - use std::endl in asn-len.h (Closes: #547784) * Depend on dh-autoreconf instead of automake1.7 and autoconf (Closes:#648590, #628346) * Don't ship .la files in libsnacc-dev * Depend on debhelper >= 9 * Use dh_clean for make clean * Drop simple patch system -- Balint Reczey Sun, 11 Mar 2012 20:40:57 +0100 snacc (1.3bbn-10) unstable; urgency=low * Endorse NMUs (closes: #374045, #377083, #394709, #418476, #424249, #442873). * New (= old) maintainer, because team does not exist. * Fixed some lintians. * Removed TeX source files from snacc-doc binary package. -- W. Martin Borgert Tue, 22 Jul 2008 18:08:21 +0000 snacc (1.3bbn-9.3) unstable; urgency=low * Non-maintainer upload. * debian/rules - updated clean target (Closes: #424249) - added removal for usr/share/doc/snacc-doc in snacc (Closes: #418476) * debian/control - bump Suggest to automake1.7 (to follow what's in build-dep) (Closes: #394709) - updated libsnacc-dev to use ${binary:Version} for depends over libsnacc0c2 * debian/patches/bts-442873.patch - added (Closes: #442873) * debian/snacc-doc.doc-base - fixed Section to Programming * debian/copyright - updated FSF address -- Sandro Tosi Wed, 16 Apr 2008 01:42:50 +0200 snacc (1.3bbn-9.2) unstable; urgency=low * Non-maintainer upload. * debian/rules: Fix kshism. Closes: #377083. -- Matej Vela Wed, 9 Aug 2006 14:52:26 +0200 snacc (1.3bbn-9.1) unstable; urgency=medium * Non-maintainer upload. * debian/rules: - Use automake-1.7 even if /usr/bin/automake points to a different version. Closes: #374045. - cdbs seems to have changed the default patch level for new files; adjust $(DEB_INSTALL_EXAMPLES_libsnacc-dev). * Change libsnacc-dev section to libdevel in accordance with the override file. -- Matej Vela Wed, 5 Jul 2006 09:30:10 +0200 snacc (1.3bbn-9) unstable; urgency=low * Now build-depends on libtool (closes: #321199). -- W. Borgert Thu, 04 Aug 2005 18:40:05 +0000 snacc (1.3bbn-8) unstable; urgency=low * New maintainer: Debian FDT tool team , mainly Martin v. Löwis . (Closes: #204807). FDT = Formal Description Technique (e.g. ASN.1, MSC, SDL, TTCN-3) * Port to standard C++ library (Martin). * Rebuild for new C++ ABI (Martin). * Replace EOC with EOC_TAG_ID (Martin) (Closes: #307760). * Build uses CDBS, divided earlier changes in clean patches (me). * Removed -dbg package temporarily (me). * Fixes FTBFS on amd64 (Closes: #277690), thanks to Kurt Roeckx for reporting and Larry Doolittle for the patch. -- W. Borgert Sat, 30 Jul 2005 17:32:55 +0000 snacc (1.3bbn-7) unstable; urgency=low * QA upload. * Manpages relicensed from GFDL to GNU GPL (closes: #292242) * debian/rules: remove generated manpages on clean -- Frederic Peters Wed, 26 Jan 2005 10:55:09 +0100 snacc (1.3bbn-6) unstable; urgency=low * QA upload. * bootstrap: + Fixed the autotools calling order. + Re-ran the bootstrap script. * debian/control: + Do not build-depend on the autotools. + Set policy to 3.6.1.1. + Recommend gv | postscript-viewer instead of postscript-viewer only. * debian/rules: + Fix timestamps at configure time (Closes: #249740). + Run make distclean, not merely make clean. + Remove configure.in at clean time. + Fixed {} wildcard bashisms. -- Sam Hocevar (Debian packages) Tue, 10 Aug 2004 18:01:47 +0200 snacc (1.3bbn-5.1) unstable; urgency=low * g++-3.3: strstream.h is now strstream (closes: #197705). * Orphaned the package. Good-bye, snacc. * Updated some ./debian/ files. -- W. Borgert Sun, 10 Aug 2003 10:40:47 +0200 snacc (1.3bbn-5) unstable; urgency=low * Fixed an incompatibility with new bison, thanks to Junichi Uekawa (closes: #167051). * Changed Debian specific manual pages from DocBook/SGML to DocBook/XML. * Changed bootstrap and configure.in/ac to latest autotools. -- W. Borgert Tue, 19 Nov 2002 16:04:46 +0000 snacc (1.3bbn-4) unstable; urgency=low * Adjusted to new gcc version (closes: #133010). -- W. Borgert Wed, 13 Feb 2002 20:59:59 +0000 snacc (1.3bbn-3) unstable; urgency=low * Dependencies on autotools-dev etc. introduced (closes: #104708, #115058). -- W. Borgert Wed, 24 Oct 2001 23:24:08 +0000 snacc (1.3bbn-2.1) unstable; urgency=low * Update config.sub/guess so that snacc will build on ia64. (closes: Bug#115058) -- Doug Porter Wed, 17 Oct 2001 12:13:20 -0600 snacc (1.3bbn-2) unstable; urgency=low * Builds binary-all package in binary-arch target (closes: #87203). * libstdc++2.10-dev build dependency removed (closes: #92383). * Fixed debian/rules: Overwrote right manual page with wrong one. * Changes in control file, new package libsnacc-dbg etc. * Use current libtool. -- W. Borgert Sun, 25 Feb 2001 13:42:05 +0000 snacc (1.3bbn-1) unstable; urgency=low * Initial Release. * Fixed configure.in and snacc-config.in. -- W. Borgert Sat, 27 Jan 2001 01:18:46 +0000 debian/compat0000644000000000000000000000000212164116017010363 0ustar 9 debian/control0000644000000000000000000000557412164116017010603 0ustar Source: snacc Section: devel Priority: optional Maintainer: Balint Reczey Build-Depends: cdbs, autotools-dev, libtool, debhelper (>= 9), dh-autoreconf, bison, flex, docbook-xsl (>= 1.60), xsltproc Standards-Version: 3.9.4 Vcs-Browser: http://git.debian.org/?p=collab-maint/snacc.git Vcs-Git: git://git.debian.org/git/collab-maint/snacc Homepage: https://github.com/nexgenta/snacc Package: snacc Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: libsnacc-dev, snacc-doc Suggests: automake Description: ASN.1 to C or C++ or IDL compiler Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). Snacc supports a subset of ASN.1 1988. If you need features of ASN.1 1992 or later, snacc is not for you. . Given an ASN.1 source file(s) snacc can produce: . 1. C routines for BER encoding, decoding, printing and freeing. 2. C++ routines for BER encoding, decoding, and printing. 3. A type table that can be used with C driver routines for BER encoding, decoding, printing and freeing. . If you want to build snacc based applications, you want to install the libsnacc-dev package, too. Your application will then depend on the snacc libraries, you find in the libsnacc0c2 package. Package: libsnacc-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libsnacc0c2 (= ${binary:Version}) Recommends: snacc-doc Description: ASN.1 to C or C++ or IDL compiler, development files Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). Snacc supports a subset of ASN.1 1988. If you need features of ASN.1 1992 or later, snacc is not for you. . This package contains the static libraries and C/C++ header files for snacc development. Package: libsnacc0c2 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Conflicts: libsnacc0 Replaces: libsnacc0 Description: ASN.1 to C or C++ or IDL compiler, shared libraries Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). Snacc supports a subset of ASN.1 1988. If you need features of ASN.1 1992 or later, snacc is not for you. . These are the shared libraries for programs developed using snacc. Package: snacc-doc Section: doc Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Recommends: evince | gv | postscript-viewer Description: ASN.1 to C or C++ or IDL compiler, documentation Snacc is short for "Sample Neufeld ASN.1 to C Compiler" and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). Snacc supports a subset of ASN.1 1988. If you need features of ASN.1 1992 or later, snacc is not for you. . The documentation for snacc in PostScript format and LaTeX sources. debian/copyright0000644000000000000000000000266112164116017011125 0ustar Packaged-By: W. Martin Borgert Packaged-Date: Sat, 2001-01-27 01:18:46 +0000. Upstream-Source: http://www.ir.bbn.com/download/tools/snacc-1.3.tar.gz ftp://ftp.fokus.gmd.de/pub/freeware/snacc/snacc-1.3b4.tar.gz (c-examples, c++-examples, tbl-example) Upstream-Author: M. Fredette Mike Sample Gerald Neufeld Robert Joop Sebastian Wangnick Files: debian/*.dbk Copyright: © 2000, 2001, W. Martin Borgert License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Disclaimer: The snacc tool itself is covered by the GNU GPL, while the generated code and the libraries used by generated code are free to use for any purpose, even non-free software. Files: * Copyright: © 1995, 1996, 1997, 1998 Free Software Foundation, Inc. License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2. The complete text of the forementioned licenses can be found in files "/usr/share/common-licenses/GPL-2" and "/usr/share/common-licenses/GPL-3", respectively. debian/docs0000644000000000000000000000001412164116017010033 0ustar NEWS README debian/libsnacc-dev.dirs0000644000000000000000000000011512164116017012377 0ustar usr/include/snacc/c usr/include/snacc/c++ usr/lib usr/share/doc/libsnacc-dev debian/libsnacc-dev.install0000644000000000000000000000076212164116017013114 0ustar debian/tmp/usr/include/snacc/c debian/tmp/usr/include/snacc/c++ debian/tmp/usr/lib/*/libasn1c++.a debian/tmp/usr/lib/*/libasn1c++.so debian/tmp/usr/lib/*/libasn1cCebuf.a debian/tmp/usr/lib/*/libasn1cCebuf.so debian/tmp/usr/lib/*/libasn1cebuf.a debian/tmp/usr/lib/*/libasn1cebuf.so debian/tmp/usr/lib/*/libasn1cmbuf.a debian/tmp/usr/lib/*/libasn1cmbuf.so debian/tmp/usr/lib/*/libasn1csbuf.a debian/tmp/usr/lib/*/libasn1csbuf.so debian/tmp/usr/lib/*/libasn1ctbl.a debian/tmp/usr/lib/*/libasn1ctbl.so debian/libsnacc0c2.dirs0000644000000000000000000000007612164116017012136 0ustar usr/lib usr/share/doc/libsnacc0c2 usr/share/lintian/overrides debian/libsnacc0c2.install0000644000000000000000000000075012164116017012642 0ustar debian/tmp/usr/lib/*/libasn1cCebuf.so.0.0.0 debian/tmp/usr/lib/*/libasn1cCebuf.so.0 debian/tmp/usr/lib/*/libasn1cebuf.so.0.0.0 debian/tmp/usr/lib/*/libasn1cebuf.so.0 debian/tmp/usr/lib/*/libasn1cmbuf.so.0.0.0 debian/tmp/usr/lib/*/libasn1cmbuf.so.0 debian/tmp/usr/lib/*/libasn1csbuf.so.0.0.0 debian/tmp/usr/lib/*/libasn1csbuf.so.0 debian/tmp/usr/lib/*/libasn1ctbl.so.0.0.0 debian/tmp/usr/lib/*/libasn1ctbl.so.0 debian/tmp/usr/lib/*/libasn1c++.so.0.0.0 debian/tmp/usr/lib/*/libasn1c++.so.0 debian/libsnacc0c2.lintian-overrides0000644000000000000000000000006612164116017014632 0ustar libsnacc0c2 binary: package-name-doesnt-match-sonames debian/patches/0000755000000000000000000000000012164116017010614 5ustar debian/patches/01_Fix-options-parsing-in-snacc.patch0000644000000000000000000000653312164116017017515 0ustar From d0cba8b2f6905dfc08cbb4ccc4006e3234564449 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Sun, 30 Jun 2013 02:39:31 +0200 Subject: [PATCH 1/2] Fix options parsing in snacc The crashes in the parsing logic has been reported by The Mayhem Team at http://www.forallsecure.com/bug-reports/6f5f79ad3f80cffe072b7133a3b8224d1b18d2b5 --- compiler/core/snacc.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/compiler/core/snacc.c b/compiler/core/snacc.c index d0e4923..96b2683 100644 --- a/compiler/core/snacc.c +++ b/compiler/core/snacc.c @@ -448,11 +448,15 @@ int main PARAMS ((argc, argv), usefulTypeModFileName = &argv[currArg][2]; currArg++; } - else + else if (currArg+1 < argc) { usefulTypeModFileName = argv[currArg+1]; currArg += 2; } + else /* no file to parse after -u */ + { + goto error; + } break; case 'l': @@ -461,11 +465,16 @@ int main PARAMS ((argc, argv), longJmpVal = atoi (&argv[currArg][2]); currArg++; } - else + else if (currArg+1 < argc) { longJmpVal = atoi (argv[currArg+1]); currArg += 2; } + else /* no number to parse after -l */ + { + goto error; + } + break; case 'T': @@ -476,11 +485,15 @@ int main PARAMS ((argc, argv), tblFileName = &argv[currArg][2]; currArg++; } - else + else if (currArg+1 < argc) { tblFileName = argv[currArg+1]; currArg += 2; } + else /* no file to parse after -T */ + { + goto error; + } break; @@ -492,11 +505,15 @@ int main PARAMS ((argc, argv), maxFileNameLenG = atoi (&argv[currArg][3]); currArg++; } - else + else if (currArg+1 < argc) { maxFileNameLenG = atoi (argv[currArg+1]); currArg += 2; } + else /* no parameter to parse after -mf */ + { + goto error; + } break; } #if META @@ -535,7 +552,7 @@ int main PARAMS ((argc, argv), error: default: - fprintf (stderr, "%s: ERROR---unknown cmd line option `%s'\n\n", argv[0], argv[currArg]); + fprintf (stderr, "%s: ERROR---unknown or improperly used cmd line option `%s'\n\n", argv[0], argv[currArg]); Usage (argv[0], stderr); exit (1); } -- 1.7.10.4 debian/patches/02_Fix-printing-version-information-in-berdecode.patch0000644000000000000000000000341012164116017023036 0ustar From 9a04e733fac1874d6b99a9906f5e8b3b4b567f0e Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Sun, 30 Jun 2013 02:41:43 +0200 Subject: [PATCH 2/2] Fix printing version information in berdecode The crashes in the printing logic has been reported by The Mayhem Team at http://www.forallsecure.com/bug-reports/6f5f79ad3f80cffe072b7133a3b8224d1b18d2b5 --- tbl-tools/berdecode/berdecode.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/tbl-tools/berdecode/berdecode.c b/tbl-tools/berdecode/berdecode.c index 012ef86..62b0001 100644 --- a/tbl-tools/berdecode/berdecode.c +++ b/tbl-tools/berdecode/berdecode.c @@ -1,6 +1,7 @@ #include "tbl-gen.h" #include "sbuf.h" #include "tbl-dbg.h" +#include "version.h" #if TIME_WITH_SYS_TIME # include @@ -189,27 +190,12 @@ int main (int argc, char* argv[]) } if (!files) { - char* revision = "$Revision: 1.3 $"; - char* date = "$Date: 1997/09/16 15:05:10 $"; - char* p; - p = strchr(revision,' '); - if (p) - revision = p+1; - p = strchr(revision,' '); - if (p) - *p = '\0'; - p = strchr(date,' '); - if (p) - date = p+1; - p = strchr(date,' '); - if (p) - *p = '\0'; fprintf(stderr,"Usage: %s [-s|-strip ] [-d|-debug]\n", progname); - fprintf(stderr," [-T|-table |-}\n"); + fprintf(stderr," [-T|-table ] {|-}\n"); fprintf(stderr,"\n"); fprintf(stderr,"This is berdecode, revision %s as of %s.\n", - revision,date); + VERSION, RELDATE); fprintf(stderr,"This program reads a binary ASN.1 grammar file generated by snacc -T\n"); fprintf(stderr,"and uses it to decode ASN.1 BER encoded data from files or stdin.\n"); fprintf(stderr,"\n"); -- 1.7.10.4 debian/patches/series0000644000000000000000000000013512164116017012030 0ustar 01_Fix-options-parsing-in-snacc.patch 02_Fix-printing-version-information-in-berdecode.patch debian/rules0000755000000000000000000000145312164116017010250 0ustar #!/usr/bin/make -f DEB_INSTALL_DOCS_snacc-doc=doc/snacc-a5.ps DEB_INSTALL_EXAMPLES_libsnacc-dev=c++-examples c-examples tbl-example DEB_INSTALL_MANPAGES_snacc=debian/berdecode.1 debian/snacc-config.1 include /usr/share/cdbs/1/rules/debhelper.mk DEB_CONFIGURE_EXTRA_FLAGS=--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk DB2MAN=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl build/snacc:: cd debian; xsltproc --nonet --novalid $(DB2MAN) berdecode.dbk cd debian; xsltproc --nonet --novalid $(DB2MAN) snacc-config.dbk install/snacc:: rm -rf $(CURDIR)/debian/snacc/usr/share/doc/snacc-doc/ binary-post-install/snacc:: rm -f $(CURDIR)/debian/snacc/usr/share/man/man1/snacced.1* clean:: dh_clean debian/snacc-config.dbk0000644000000000000000000001442112164116017012203 0ustar W. Martin"> Borgert"> 2001-02-17"> 1"> debacle@debian.org"> snacc-config"> Debian GNU/Linux"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2001 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; script to get information about the installed version of snacc &dhpackage; BUFFERTYPE (one of ebuf, mbuf, sbuf, or tbl) Description snacc-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use snacc. Options Print the currently installed version of snacc. If specified, use PREFIX instead of the installation prefix that snacc was built with when computing the output for the and options. This option is normally not needed in &debian;. If specified, use PREFIX instead of the installation exec prefix that snacc was built with when computing the output for the and options. This option is normally not needed in &debian;. If you understand this option, please file a bug against snacc. Print the compiler flags that are necessary to compile a snacc based program. Print the linker flags that are necessary to link a snacc based program. Prints the filename of snacc. On &debian;, it's /usr/bin/snacc. Print the location of the snacc-specific ASN.1 files. On &debian;, it's /usr/include/snacc/asn1/. This option determines, wether and print the flags for C or C++. On &debian; this is e.g. /usr/include/snacc/c/ or /usr/include/snacc/c++/. This option determines the output of and . must be one of ebuf, mbuf, sbuf, or tbl. See Also snacc (1), mkchdr(1), ptbl(1), pval(1), berdecode(1). Please install the snacc-doc package for more information on snacc. Author This manual page was written by &dhusername; (&dhemail;) for the &debian; system. Parts of it are taken from the glib-config(1) manual page - I hope that nothing is inaccurate for snacc-config. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.
debian/snacc-doc.dirs0000644000000000000000000000003012164116017011673 0ustar usr/share/doc/snacc-doc debian/snacc-doc.doc-base0000644000000000000000000000041212164116017012413 0ustar Document: snacc-doc Title: Snacc 1.2rj: A High Performance ASN.1 to C/C++/IDL Compiler Author: Michael Sample Abstract: This manual describes the Snacc ASN.1 to C/C++ compiler. Section: Programming Format: PostScript Files: /usr/share/doc/snacc-doc/snacc-a5.ps.gz debian/snacc.dirs0000644000000000000000000000013012164116017011131 0ustar usr/bin usr/include/snacc/asn1 usr/share/aclocal usr/share/doc/snacc usr/share/man/man1 debian/snacc.install0000644000000000000000000000040612164116017011644 0ustar debian/tmp/usr/bin/berdecode debian/tmp/usr/bin/mkchdr debian/tmp/usr/bin/ptbl debian/tmp/usr/bin/pval debian/tmp/usr/bin/snacc debian/tmp/usr/bin/snacc-config debian/tmp/usr/include/snacc/asn1 debian/tmp/usr/share/aclocal/snacc.m4 debian/tmp/usr/share/man/man1 debian/watch0000644000000000000000000000047012164116017010217 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \ https://github.com/nexgenta/snacc/tags .*/snacc[_\-\.]?(\d\S*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) # Bart Martens Sun, 30 Dec 2012 13:10:38 +0000