RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  [email protected]
  Module: rpm                              Date:   16-Jul-2010 04:06:21
  Branch: HEAD                             Handle: 2010071602062100

  Modified files:
    rpm/rpmdb               tag2asn.sh

  Log:
    - asn1: WIP.

  Summary:
    Revision    Changes     Path
    1.2         +11 -5      rpm/rpmdb/tag2asn.sh
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmdb/tag2asn.sh
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 tag2asn.sh
  --- rpm/rpmdb/tag2asn.sh      15 Jul 2010 20:48:21 -0000      1.1
  +++ rpm/rpmdb/tag2asn.sh      16 Jul 2010 02:06:21 -0000      1.2
  @@ -5,15 +5,21 @@
   $AWK '
   BEGIN {
     printf("\
  -rpmTagData\
  -\n   { iso org(3) dod(6) internet(1) private(4) enterprise(1)\
  -\n           rpm(36106) tag(1) }\
  +rpmModule\
  +\n  { iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) rpm(36106) }\
   \n\
   \nDEFINITIONS EXPLICIT TAGS ::=\
   \nBEGIN\
   \n\
  +\nid-rpmTag OBJECT IDENTIFIER ::=\
  +\n  { iso(1) org(3) dod(6) internet(1) private(4) enterprise(1)\
  +\n           rpm(36106) tag(1) }\
  +\n\
  +\nVisibleString              ::= [UNIVERSAL 26] IMPLICIT OCTET STRING\
  +\nUTF8String         ::= [UNIVERSAL 12] IMPLICIT OCTET STRING\
  +\n\
   \nRPM_UINT8_TYPE     ::= INTEGER (0..255)\
  -\nRPM_UINT16_TYPE    ::= INTEGER (0..65535\
  +\nRPM_UINT16_TYPE    ::= INTEGER (0..65535)\
   \nRPM_UINT32_TYPE    ::= INTEGER (0..4294967295)\
   \nRPM_UINT64_TYPE    ::= INTEGER (0..18446744073709551615)\
   \nRPM_STRING_TYPE    ::= VisibleString\
  @@ -34,7 +40,7 @@
     }
   
     if ($2 == "=") {
  -    printf("\nid-%s\tOBJECT_IDENTIFIER ::= { rpmTagData %d }", tagN, tagNum)
  +    printf("\nid-%s\tOBJECT_IDENTIFIER ::= { id-rpmTag %d }", tagN, tagNum)
     }
   
     if ($5 == "c")     {
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                [email protected]

Reply via email to