Check-in [ff305e4211]
Not logged in
Overview
Comment:Run the saved 'package unknown' handler first, check its results, and skip the repository handler if appropriate. Allow the package persistence root directory to be overridden and verified easily. Procedure naming cleanup for OpenPGP. Attempt to avoid adding redundant directories to the auto-path. Modify the master package index when the *target* language is Tcl, not the current language. Upon loading the package downloader package, add the package persistence root directory to the auto-path if it resides outside of all auto-path directories.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ff305e42113b75782e64ec95774430558147fc89
User & Date: mistachkin on 2016-10-18 05:47:59
Other Links: manifest | tags
Context
2016-10-18
06:10
Backout some changes from the previous check-in: if the master package index file for native Tcl already exists, its contents are assumed to be correct. check-in: 94a31bb430 user: mistachkin tags: trunk
05:47
Run the saved 'package unknown' handler first, check its results, and skip the repository handler if appropriate. Allow the package persistence root directory to be overridden and verified easily. Procedure naming cleanup for OpenPGP. Attempt to avoid adding redundant directories to the auto-path. Modify the master package index when the *target* language is Tcl, not the current language. Upon loading the package downloader package, add the package persistence root directory to the auto-path if it resides outside of all auto-path directories. check-in: ff305e4211 user: mistachkin tags: trunk
2016-10-17
22:48
Add more (optional) verbosity to the URI downloading procedure. check-in: dbe5f9fb75 user: mistachkin tags: trunk
Changes

Modified client/1.0/pkgd.eagle from [2ca5ec045e] to [3ae0666b79].

172
173
174
175
176
177
178

179










180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206




207

208
209
210



























































211
212
213
214
215
216
217
218
219
220

  #
  # NOTE: This procedure returns the root directory where any packages that
  #       are downloaded should be saved to permanent storage for subsequent
  #       use.  There are no arguments.
  #
  proc getPersistentRootDirectory {} {

    #










    # NOTE: Return a directory parallel to the one containing the library
    #       directory.
    #
    return [file join [file dirname [info library]] pkgd]
  }

  #
  # NOTE: This procedure, which is only used with native Tcl, generates a
  #       package index file (i.e. "pkgIndex.tcl") suitable for use with
  #       native Tcl 8.4 (or higher).  It will recursively [source] other
  #       native Tcl package index files that are within the configured
  #       persistent root directory, thereby causing all packages located
  #       within it to become available.  Since Eagle (by default) already
  #       performs a recursive search for its package index files, this
  #       procedure is not necessary for Eagle packages.
  #
  proc maybeCreateMasterTclPackageIndex {} {
    variable persistentRootDirectory

    if {![info exists persistentRootDirectory]} then {
      error "persistent root directory not set"
    }

    if {[string length $persistentRootDirectory] == 0} then {
      error "persistent root directory is invalid"
    }





    if {![file isdirectory $persistentRootDirectory]} then {

      error "persistent root directory does not exist"
    }




























































    set fileName [file join $persistentRootDirectory pkgIndex.tcl]

    if {[file exists $fileName]} then {
      return false
    }

    writeFile $fileName [string trim [string map [list \r\n \n] {
###############################################################################
#
# pkgIndex.tcl --







>
|
>
>
>
>
>
>
>
>
>
>
|
|





|
|
<
<
<
<
<
|

|










>
>
>
>
|
>


|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|

|







172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199





200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290

  #
  # NOTE: This procedure returns the root directory where any packages that
  #       are downloaded should be saved to permanent storage for subsequent
  #       use.  There are no arguments.
  #
  proc getPersistentRootDirectory {} {
    global env

    #
    # NOTE: Allow the persistent root directory to be overridden via the
    #       environment.  Typically, this customization will only be needed
    #       if multiple instances of Tcl need to share packages.
    #
    if {[info exists env(PKGD_ROOT)]} then {
      return $env(PKGD_ROOT)
    }

    #
    # NOTE: Fallback to returning a directory parallel to the one containing
    #       the library directory.
    #
    return [file join [file dirname [info library]] pkgd]
  }

  #
  # NOTE: This procedure checks the configured persistent root directory for
  #       downloaded packages.  If any checks fail, a script error is raised.





  #       There are no arguments.  The return value is undefined.
  #
  proc verifyPersistentRootDirectory {} {
    variable persistentRootDirectory

    if {![info exists persistentRootDirectory]} then {
      error "persistent root directory not set"
    }

    if {[string length $persistentRootDirectory] == 0} then {
      error "persistent root directory is invalid"
    }

    #
    # NOTE: Either the persistent root directory must already exist -OR- we
    #       must be able to create it.
    #
    if {![file isdirectory $persistentRootDirectory] && \
        [catch {file mkdir $persistentRootDirectory}]} then {
      error "persistent root directory does not exist"
    }
  }

  #
  # NOTE: This procedure returns the name of the package index file for the
  #       language specified by the language argument.  An empty string will
  #       be returned if the language is unsupported or unrecognized.
  #
  proc getPackageIndexFileName { language } {
    if {[string length $language] == 0 || $language eq "eagle"} then {
      return pkgIndex.eagle
    } elseif {$language eq "tcl"} then {
      return pkgIndex.tcl
    } else {
      return ""
    }
  }

  #
  # NOTE: This procedure returns non-zero if the specified file appears
  #       to contain a master package index for native Tcl.  The fileName
  #       argument is the name of the file to check.
  #
  proc isMasterTclPackageIndex { fileName } {
    #
    # NOTE: Read all data from the specified file.  This should always be
    #       a relatively small file with a constant size.
    #
    set data [readFile $fileName]

    #
    # NOTE: Check the data read from the file for the magic string that
    #       we use to indicate a "master package index" file.
    #
    if {[string first <MASTER_PACKAGE_INDEX> $data] == -1} then {
      return false
    }

    #
    # TODO: Make this procedure smarter?
    #
    return true
  }

  #
  # NOTE: This procedure, which is only used for native Tcl, generates a
  #       package index file (i.e. "pkgIndex.tcl") suitable for use with
  #       native Tcl 8.4 (or higher).  It will recursively [source] other
  #       native Tcl package index files that are within the configured
  #       persistent root directory, thereby causing all packages located
  #       within it to become available.  Since Eagle (by default) already
  #       performs a recursive search for its package index files, this
  #       procedure is not necessary for Eagle packages.  This procedure
  #       will return non-zero if productive work was done.
  #
  proc maybeModifyMasterTclPackageIndex {} {
    variable persistentRootDirectory

    verifyPersistentRootDirectory
    set persistentDirectory $persistentRootDirectory

    set fileName [file join $persistentDirectory pkgIndex.tcl]

    if {[file exists $fileName] && ![isMasterPackageIndex $fileName]} then {
      return false
    }

    writeFile $fileName [string trim [string map [list \r\n \n] {
###############################################################################
#
# pkgIndex.tcl --
248
249
250
251
252
253
254

255


256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273

274
275
276
277
278
279
280
  }

  eval lappend pkgd(dirs) \
      [glob -nocomplain -types {d} [file join $pkgd(dir) *]]
}

set dir $pkgd(savedDir); unset -nocomplain pkgd

    }]]


  }

  #
  # NOTE: This procedure returns non-zero if the specified file seems to be
  #       an OpenPGP signature file.  The fileName argument is the name of
  #       the file to check, which may or may not exist.  The nameOnly
  #       argument should be non-zero to ignore the contents of the file.
  #
  proc isPgpSignatureFileName { fileName nameOnly } {
    if {[string length $fileName] == 0} then {
      return false
    }

    set extension [file extension $fileName]

    if {$extension eq ".asc"} then {
      if {!$nameOnly && [file exists $fileName]} then {
        return [::PackageRepository::isPgpSignature [readFile $fileName]]

      } else {
        return true
      }
    } else {
      return false
    }
  }







>

>
>








|








|
>







318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
  }

  eval lappend pkgd(dirs) \
      [glob -nocomplain -types {d} [file join $pkgd(dir) *]]
}

set dir $pkgd(savedDir); unset -nocomplain pkgd
## <MASTER_PACKAGE_INDEX> ##
    }]]

    return true
  }

  #
  # NOTE: This procedure returns non-zero if the specified file seems to be
  #       an OpenPGP signature file.  The fileName argument is the name of
  #       the file to check, which may or may not exist.  The nameOnly
  #       argument should be non-zero to ignore the contents of the file.
  #
  proc isOpenPgpSignatureFileName { fileName nameOnly } {
    if {[string length $fileName] == 0} then {
      return false
    }

    set extension [file extension $fileName]

    if {$extension eq ".asc"} then {
      if {!$nameOnly && [file exists $fileName]} then {
        return [::PackageRepository::isOpenPgpSignature \
            [readFile $fileName]]
      } else {
        return true
      }
    } else {
      return false
    }
  }
291
292
293
294
295
296
297
298

299
300
301
302
303
304
305














































306
307
308
309
310
311
312
      return false
    }

    set extension [file extension $fileName]

    if {$extension eq ".harpy"} then {
      if {!$nameOnly && [file exists $fileName]} then {
        return [::PackageRepository::isHarpyCertificate [readFile $fileName]]

      } else {
        return true
      }
    } else {
      return false
    }
  }















































  #
  # NOTE: This procedure adds a directory to the auto-path of the specified
  #       language (i.e. native Tcl or Eagle).  The directory will not be
  #       added if it is already present.  The language argument must be the
  #       literal string "eagle" or the literal string "tcl".  The directory
  #       argument is the fully qualified path for the directory to add to







|
>







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
      return false
    }

    set extension [file extension $fileName]

    if {$extension eq ".harpy"} then {
      if {!$nameOnly && [file exists $fileName]} then {
        return [::PackageRepository::isHarpyCertificate \
            [readFile $fileName]]
      } else {
        return true
      }
    } else {
      return false
    }
  }

  #
  # NOTE: This procedure returns the auto-path for the language specified by
  #       the language argument.  An empty list is returned if the auto-path
  #       does not exist in the target language.  This procedure may raise
  #       script errors.
  #
  proc getAutoPath { language } {
    if {[string length $language] == 0 || $language eq "eagle"} then {
      if {[isEagle]} then {
        if {![info exists ::auto_path]} then {
          return [list]
        }

        return $::auto_path
      } else {
        ::PackageRepository::eagleMustBeReady

        eagle {
          if {![info exists ::auto_path]} then {
            return [list]
          }

          return $::auto_path
        }
      }
    } elseif {$language eq "tcl"} then {
      if {[isEagle]} then {
        tcl eval [tcl master] {
          if {![info exists ::auto_path]} then {
            return [list]
          }

          return $::auto_path
        }
      } else {
        if {![info exists ::auto_path]} then {
          return [list]
        }

        return $::auto_path
      }
    } else {
      error "unsupported language, no idea how to query auto-path"
    }
  }

  #
  # NOTE: This procedure adds a directory to the auto-path of the specified
  #       language (i.e. native Tcl or Eagle).  The directory will not be
  #       added if it is already present.  The language argument must be the
  #       literal string "eagle" or the literal string "tcl".  The directory
  #       argument is the fully qualified path for the directory to add to
347
348
349
350
351
352
353












































































354
355
356
357
358
359
360
          lappend ::auto_path $directory
        }
      }
    } else {
      error "unsupported language, no idea how to modify auto-path"
    }
  }













































































  #
  # NOTE: This procedure verifies the combination of language and version
  #       specified by the caller.  The language argument must be one of the
  #       literal strings "eagle", "tcl", or "client".  The version argument
  #       must be one of the literal strings "8.4", "8.5", or "8.6" when the
  #       language is "tcl" -OR- the literal string "1.0" when the language







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
          lappend ::auto_path $directory
        }
      }
    } else {
      error "unsupported language, no idea how to modify auto-path"
    }
  }

  #
  # NOTE: This procedure adds a directory to the auto-path of the specified
  #       language (i.e. native Tcl or Eagle).  The directory will not be
  #       added if it is already present.  The language argument must be the
  #       literal string "eagle" or the literal string "tcl".  The directory
  #       argument is the fully qualified path for the directory to add to
  #       the auto-path.  The directory will not be added if it falls under
  #       a directory already in the auto-path.
  #
  proc maybeAddToAutoPath { language directory } {
    #
    # NOTE: Verify that the directory to be added is valid and exists.  If
    #       not, do nothing.
    #
    if {[string length $directory] == 0 || \
        ![file isdirectory $directory]} then {
      return false
    }

    #
    # NOTE: Normalize the specified directory.  This is necessary so that
    #       we can compare apples-to-apples within the auto-path.
    #
    set directory [file normalize $directory]
    set directoryLength [string length $directory]

    #
    # NOTE: Query the auto-path for the target language.
    #
    set autoPath [getAutoPath $language]

    #
    # NOTE: Check each directory in the auto-path to see if the specified
    #       directory is already underneath it.
    #
    foreach autoDirectory $autoPath {
      #
      # NOTE: Normalize the auto-path directory.  This is necessary so
      #       that we can compare apples-to-apples with the specified
      #       directory.
      #
      set autoDirectory [file normalize $autoDirectory]
      set autoDirectoryLength [string length $autoDirectory]

      #
      # NOTE: Prefix match is impossible if the length of the specified
      #       directory is less than the length of this directory in the
      #       auto-path.
      #
      if {$directoryLength < $autoDirectoryLength} then {
        continue
      }

      #
      # NOTE: If the initial portion of the specified directory is the
      #       same as this directory in the auto-path, it must reside
      #       underneath it.  In that case, there is no need to modify
      #       the auto-path, bail out now.
      #
      set last [expr {$autoDirectoryLength - 1}]

      if {[string range $directory 0 $last] eq $autoDirectory} then {
        return false
      }
    }

    #
    # NOTE: At this point, it is pretty safe to assume that the specified
    #       directory is not in the auto-path, nor underneath a directory
    #       within the auto-path.
    #
    addToAutoPath $language $directory

    return true
  }

  #
  # NOTE: This procedure verifies the combination of language and version
  #       specified by the caller.  The language argument must be one of the
  #       literal strings "eagle", "tcl", or "client".  The version argument
  #       must be one of the literal strings "8.4", "8.5", or "8.6" when the
  #       language is "tcl" -OR- the literal string "1.0" when the language
591
592
593
594
595
596
597

598
599
600
601
602
603
604
605
606
607
608

609
610
611
612
613
614
615
  #       directory on the package file server and may be an empty string.  The
  #       usePgp argument should be non-zero when an OpenPGP signature file
  #       needs to be downloaded and verified for the downloaded file.
  #
  # <public>
  proc checkForHigherVersion { language version packageName usePgp } {
    variable clientDirectory

    variable temporaryRootDirectory

    verifyLanguageAndVersion $language $version isClient

    set temporaryDirectory [file join \
        $temporaryRootDirectory [appendArgs \
        pkgd_ver_ [::PackageRepository::getUniqueSuffix]]]

    if {$isClient} then {
      set persistentDirectory $clientDirectory
    } else {

      set persistentDirectory $persistentRootDirectory
    }

    set fileName [file join $packageName VERSION]
    set downloadFileName [file join $temporaryDirectory $fileName]

    file mkdir [file dirname $downloadFileName]







>











>







788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
  #       directory on the package file server and may be an empty string.  The
  #       usePgp argument should be non-zero when an OpenPGP signature file
  #       needs to be downloaded and verified for the downloaded file.
  #
  # <public>
  proc checkForHigherVersion { language version packageName usePgp } {
    variable clientDirectory
    variable persistentRootDirectory
    variable temporaryRootDirectory

    verifyLanguageAndVersion $language $version isClient

    set temporaryDirectory [file join \
        $temporaryRootDirectory [appendArgs \
        pkgd_ver_ [::PackageRepository::getUniqueSuffix]]]

    if {$isClient} then {
      set persistentDirectory $clientDirectory
    } else {
      verifyPersistentRootDirectory
      set persistentDirectory $persistentRootDirectory
    }

    set fileName [file join $packageName VERSION]
    set downloadFileName [file join $temporaryDirectory $fileName]

    file mkdir [file dirname $downloadFileName]
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
    #
    writeFile $localFileName [getPackageFile $uri]

    #
    # NOTE: Is use of OpenPGP for signature verification enabled?  Also,
    #       did we just download an OpenPGP signature file?
    #
    if {$usePgp && [isPgpSignatureFileName $localFileName true]} then {
      #
      # NOTE: Attempt to verify the OpenPGP signature.  If this fails,
      #       an error is raised.
      #
      if {![::PackageRepository::verifyPgpSignature $localFileName]} then {
        error [appendArgs \
            "bad PGP signature \"" $localFileName \"]
      }
    }
  }

  #
  # NOTE: This procedure attempts to download a list of files, optionally
  #       persistening them for subsequent uses by the target language.







|




|

|







868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
    #
    writeFile $localFileName [getPackageFile $uri]

    #
    # NOTE: Is use of OpenPGP for signature verification enabled?  Also,
    #       did we just download an OpenPGP signature file?
    #
    if {$usePgp && [isOpenPgpSignatureFileName $localFileName true]} then {
      #
      # NOTE: Attempt to verify the OpenPGP signature.  If this fails,
      #       an error is raised.
      #
      if {![::PackageRepository::verifyOpenPgpSignature $localFileName]} then {
        error [appendArgs \
            "bad OpenPGP signature \"" $localFileName \"]
      }
    }
  }

  #
  # NOTE: This procedure attempts to download a list of files, optionally
  #       persistening them for subsequent uses by the target language.
716
717
718
719
720
721
722

723
724
725
726
727
728
729
    set temporaryDirectory [file join \
        $temporaryRootDirectory [appendArgs \
        pkgd_lib_ [::PackageRepository::getUniqueSuffix]]]

    if {$isClient} then {
      set persistentDirectory $clientDirectory
    } else {

      set persistentDirectory $persistentRootDirectory
    }

    set downloadedFileNames [list]

    foreach fileName $fileNames {
      if {[string length $fileName] == 0 || \







>







915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
    set temporaryDirectory [file join \
        $temporaryRootDirectory [appendArgs \
        pkgd_lib_ [::PackageRepository::getUniqueSuffix]]]

    if {$isClient} then {
      set persistentDirectory $clientDirectory
    } else {
      verifyPersistentRootDirectory
      set persistentDirectory $persistentRootDirectory
    }

    set downloadedFileNames [list]

    foreach fileName $fileNames {
      if {[string length $fileName] == 0 || \
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772

      file mkdir [file dirname $downloadFileName]
      downloadOneFile $language $version $fileName $downloadFileName $usePgp

      lappend downloadedFileNames [list \
          $fileNameOnly $directory(temporary) $directory(persistent)]

      if {$usePgp && ![isPgpSignatureFileName $downloadFileName true]} then {
        downloadOneFile $language $version [appendArgs $fileName .asc] \
            [appendArgs $downloadFileName .asc] $usePgp

        lappend downloadedFileNames [list \
            [appendArgs $fileNameOnly .asc] $directory(temporary) \
            $directory(persistent)]
      }







|







958
959
960
961
962
963
964
965
966
967
968
969
970
971
972

      file mkdir [file dirname $downloadFileName]
      downloadOneFile $language $version $fileName $downloadFileName $usePgp

      lappend downloadedFileNames [list \
          $fileNameOnly $directory(temporary) $directory(persistent)]

      if {$usePgp && ![isOpenPgpSignatureFileName $downloadFileName true]} then {
        downloadOneFile $language $version [appendArgs $fileName .asc] \
            [appendArgs $downloadFileName .asc] $usePgp

        lappend downloadedFileNames [list \
            [appendArgs $fileNameOnly .asc] $directory(temporary) \
            $directory(persistent)]
      }
780
781
782
783
784
785
786




787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802






























803
804
805






















806


807
808
809
810
811
812
813
814
815
816
817
818
819




820
821
822
823
824
825
826
      if {$persistent || $viaInstall} then {
        set fileNameOnly [lindex $downloadedFileName 0]
        set directory(persistent) [lindex $downloadedFileName 2]

        file mkdir $directory(persistent)
        set command [list file copy]





        if {$isClient} then {
          lappend command -force
        }

        lappend command --
        lappend command [file join $directory(temporary) $fileNameOnly]
        lappend command [file join $directory(persistent) $fileNameOnly]

        eval $command

        lappend downloadDirectories $directory(persistent)
      } else {
        lappend downloadDirectories $directory(temporary)
      }
    }































    set downloadDirectories [lsort -unique $downloadDirectories]

    if {$useAutoPath} then {






















      foreach downloadDirectory $downloadDirectories {


        addToAutoPath $language $downloadDirectory
      }
    }

    if {$persistent || $viaInstall} then {
      if {[isEagle]} then {
        file delete -recursive -- $temporaryDirectory
      } else {
        file delete -force -- $temporaryDirectory
        maybeCreateMasterTclPackageIndex
      }
    }





    return $downloadDirectories
  }

  #
  # NOTE: This package requires that support for namespaces, which is an
  #       optional feature of Eagle, must be enabled.
  #







>
>
>
>
















>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
>
|
|
|
|
<
<
<
<
<
<



>
>
>
>







980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068






1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
      if {$persistent || $viaInstall} then {
        set fileNameOnly [lindex $downloadedFileName 0]
        set directory(persistent) [lindex $downloadedFileName 2]

        file mkdir $directory(persistent)
        set command [list file copy]

        #
        # NOTE: When updating the package repository client files, always
        #       use the -force option to overwrite existing files.
        #
        if {$isClient} then {
          lappend command -force
        }

        lappend command --
        lappend command [file join $directory(temporary) $fileNameOnly]
        lappend command [file join $directory(persistent) $fileNameOnly]

        eval $command

        lappend downloadDirectories $directory(persistent)
      } else {
        lappend downloadDirectories $directory(temporary)
      }
    }

    #
    # NOTE: Does the package need to be persisted locally?  This can be set
    #       via the direct caller or via the installer tool.
    #
    set addPersistentDirectoryToAutoPath false

    if {$persistent || $viaInstall} then {
      #
      # NOTE: In Eagle, a slightly different command is required to delete
      #       an entire directory tree.
      #
      if {[isEagle]} then {
        file delete -recursive -- $temporaryDirectory
      } else {
        file delete -force -- $temporaryDirectory
      }

      #
      # NOTE: When dealing with packages for native Tcl, modify the master
      #       package index.
      #
      if {$language eq "tcl"} then {
        set addPersistentDirectoryToAutoPath [maybeModifyMasterTclPackageIndex]
      }
    }

    #
    # NOTE: Sort the list of directories that downloaded files were written
    #       to, removing any duplicates in the process.
    #
    set downloadDirectories [lsort -unique $downloadDirectories]

    if {$useAutoPath} then {
      #
      # NOTE: The auto-path, for whatever language this package belongs to,
      #       needs to be modified.
      #
      if {$addPersistentDirectoryToAutoPath} then {
        #
        # NOTE: The downloaded package was persisted -AND- will be handled
        #       by the master package index; therefore, just make sure the
        #       package persistence root directory is in the auto-path and
        #       then return only that directory in the result.
        #
        maybeAddToAutoPath $language $persistentDirectory
        set downloadDirectories [list $persistentDirectory]
      } else {
        #
        # NOTE: Check each unique download directory for a package index
        #       file.  If a directory has a package index for the target
        #       language, add to the auto-path for the target language.
        #
        set packageIndexFileName [getPackageIndexFileName $language]

        if {[string length $packageIndexFileName] > 0} then {
          foreach downloadDirectory $downloadDirectories {
            if {[file exists [file join \
                $downloadDirectory $packageIndexFileName]]} then {
              addToAutoPath $language $downloadDirectory
            }
          }
        }






      }
    }

    #
    # NOTE: Always return the list of directories that were actually added
    #       to the auto-path, if any.
    #
    return $downloadDirectories
  }

  #
  # NOTE: This package requires that support for namespaces, which is an
  #       optional feature of Eagle, must be enabled.
  #
840
841
842
843
844
845
846










847
848
849
850
851
852
853
  ::PackageRepository::maybeReadSettingsFile [info script]

  #
  # NOTE: Setup the variables, within this namespace, used by this script.
  #
  setupDownloadVars [info script]











  #
  # NOTE: Provide the package to the interpreter.
  #
  package provide Eagle.Package.Downloader \
    [expr {[isEagle] ? [info engine PatchLevel] : "1.0"}]
}








>
>
>
>
>
>
>
>
>
>







1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
  ::PackageRepository::maybeReadSettingsFile [info script]

  #
  # NOTE: Setup the variables, within this namespace, used by this script.
  #
  setupDownloadVars [info script]

  #
  # NOTE: If necessary, add the package persistence root directory to the
  #       auto-path for the current language.  This will only be done if
  #       it falls outside of the existing auto-path.
  #
  variable persistentRootDirectory

  maybeAddToAutoPath [expr {[isEagle] ? "eagle" : "tcl"}] \
      $persistentRootDirectory

  #
  # NOTE: Provide the package to the interpreter.
  #
  package provide Eagle.Package.Downloader \
    [expr {[isEagle] ? [info engine PatchLevel] : "1.0"}]
}


Modified client/1.0/pkgd.eagle.asc from [87fccf75b1] to [5fa4fd1762].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJX3Jv9AAoJEFAslq9JXcLZKXYP/jfWs2uQfENz4BWTRal3H6Cp
AHAuhn1rDmt8lyQWBzG4ZrYcJRJsI0mQhlBwiqYQt3Lcwi5FS5cWznXG7brr2taU
Mz72IOgep/d+7owYfOEGA4WvgOJ+o+mZSCohSc2f3/bGSnzMK2jUoH1TZCuUsekL
+pBKADYyVfXekmNxYFpUuDcxoRgyNigGTtIdalHXJR0eRTjLfiKfEVsVPfDBVD/B
LAionvoeKfYM6d1F3Z13AT8rF/v/rlwRv+4hAbHT42qnpunPS9FZ/ncRDRSGsTVD
fWIyu9bv8sZwWLXfgxCZQlsUyM/3seyb1ve36zuLBsfLjRuGxrmdmD8Nnkk8w2Of
Z3RoYV/dCV36iNpQWt5GwyttUo4gAc5a8bN5M6OCuRUiwbCC7lZhjRrVifONYxZv
BsqPCCFH+/IKJQf8eBmE7n5YF0GMtUUIzX5GJJhxLttt12oFOuE5a9rNhT2whmaT
mWiqmONZs6DmM7sDMOBDFT2oZVlcJfCHKt7RF0Df2yi0cCGfGb2IQyZzhx4mgt3b
CL8etRY4B8pq3z0Q4PuRGQokFmJCmAz21KTjkxPgFoHsVHRlTPSlOaqsWKEyVB2B
DJ3pvZCp0cv6F6hK5/UD9BiTt5XNfMuMftUo9P/O83mYPSNuRG5/ZXk1xIDIGNOs
XFyVcjEMOGwm5xtS329I
=bOve
-----END PGP SIGNATURE-----




|
|
|
|
|
|
|
|
|
|
|
|
|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJYBbdiAAoJEFAslq9JXcLZC+wP/0TeacdSKVxp7/XcGjoUNW9P
iiCPLqG2QQ0E1E2hR/pkyVsf8zppjFyUxQbPvzlca89vT5/f0YzHPx7V00rwGupY
wr3jHXP4yT2EZ1EvRQr5DxHgIbXUnxBUmiIE6h3QzA4y32yfD4WenEy01SuiVw99
BvDa4T1e/WXTpMckf4QGwZ8i9U+EEcYcBud2KV+y2TabtHOPMP6K5PFQcyNfmKtd
ptm3wIyn92VAnkiEcI5BvK3fWFquCsum6Q7XsY4/7gn9StKiAC/ohrhwyWaE+rVv
NxaAv4/XbgjrAurrVoozBmtph+dcM0GzQXJ8PMDoqAxq0jgHtFL+075KrEDcGuix
lBX1XaDyz8OeAux0cZxGUPnvqI0KfvTIYYyo56uR6kZ+TEnf6FDRY+g6Y653jU/T
0gvcg820fpqjFa5zNRj3f4X58nhdW1bqllruZxZljTm65DMsVHyqA1liaZlq94tv
N9/PTfGj4NtF0bC1LqbKNO/Z/pvYtwfMBFEBab8P6CJb8WlWVwvjLDiVfscQ2zZx
JeJRHygELZp/BNwtluDYrEH9lxiyct4x0FHggYMylCYLBdfnsOiCX6G6ecIhgokR
nWAHbN9DOKZIPLThQU6xZ52UMqUIkyWqyJ3rZZv9mSZYnwVkojEmuYWgYL6QlDVX
pGAQh9Wz+7khXrfQdC3i
=4L9D
-----END PGP SIGNATURE-----

Modified client/1.0/pkgd.eagle.harpy from [453a1ef9c5] to [85f862bbf0].

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED.
-->
<Certificate xmlns="https://eagle.to/2011/harpy"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Protocol>None</Protocol>
  <Vendor>Mistachkin Systems</Vendor>
  <Id>8ecc0b95-a997-4dff-8963-9cb6e6fdb873</Id>
  <HashAlgorithm>SHA512</HashAlgorithm>
  <EntityType>Script</EntityType>
  <TimeStamp>2016-09-17T01:27:00.6660156Z</TimeStamp>
  <Duration>-1.00:00:00</Duration>
  <Key>0x9559f6017247e3e2</Key>
  <Signature>
    udjF+t3LUOw5Tx8PXYAD4PhDV/9sAi5XpWBqvmUAOd1CT1/9btl9eEUNVwKr+crv1MA+yME1remF
    EETyAX5fghp+Y+zKED9fEX6F/59ILpurf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cjTokr5F4iOfaH47GotXY9wW+SctGzUJNvQ6/05QQpz2w/NJ5n0gtvVrYhNDr7z1pUE+t
    +HSJuU/oRMm7Ogk7nLf/L5KcL6DxcjgA1LJM6q01SjmqL/KxpuhfXE9TndXgnD7Yuu4WPneBMzk6
    LqmNzdH8lrvbUoorz3/s3+/RBeNV6ZcW2YTWICPCKFS15sCffLuu0fgkn6s37+6Ta7/m8VTljITr
    gpnYlHZZeCC7rTykjDKkiOt1PBo8F0wzTWbk0G5kKjh7/mHqzfYAVcRwuWj5GZRFYlzL9tGpJ4vf
    4Ad+9h71Yn4LWySnV5L72ppsNrxG2yT7NBaHyeUVLC8r4oA+XhfwTBjpxAa+UQ/QGwzBmoUlg1BV
    IBp16uzMGq2I7HWrHhXzTwTyOZ7sDoPBPFalwNCMZi4HTIPQFTnDSdv4XI5YiFiZi+3h36wT11wb
    aQNHmHLz3RKww4yIDETJT/jwRFXEskpOCIydICMceuRTU3o3S+ADx/PxUGY+47Fs9WC7rRI=
  </Signature>
</Certificate>







|


|



|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED.
-->
<Certificate xmlns="https://eagle.to/2011/harpy"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Protocol>None</Protocol>
  <Vendor>Mistachkin Systems</Vendor>
  <Id>a912d50c-3171-48a7-81d2-1a95025d18a4</Id>
  <HashAlgorithm>SHA512</HashAlgorithm>
  <EntityType>Script</EntityType>
  <TimeStamp>2016-10-18T05:45:09.9171172Z</TimeStamp>
  <Duration>-1.00:00:00</Duration>
  <Key>0x9559f6017247e3e2</Key>
  <Signature>
    F5nakHt4pZF1YHdeFQvpm0Xmqei5v/Pf2/lH6D3gyJE48LWLIxTvhb3h1rmwoJPUj3qiqrNEwfdp
    uuQgpaVc4jIrI7W5katANZfLBmXw5vM+K+dPCYOitYEeNnKJQ1nKqgs7Lnd8+2jDONsDVzmygDUv
    vQCs5PZQJRxLF75iXWMCYJpHJjYRQ96FnTAPE7lwhF95Mmw889rwAih8JK13QHtdT6bB9NbAivex
    NSCKvCZ/GPE/FeKQ36zWd5QlXNkd+1QUkvXEb9OZm08lCNkGeuISqsgbvCwBV7jqkCijQdPDuVsy
    Y1COvlDCf/OheaAoWW2rH1oclTu9mGiNOCPcNkdBt4Mm8yN/t33jm8bgMK19vOMAE+bd3Taxysbh
    3Tu/5ki/hr2VTj6SGGCUPsUhZJ2klhenfCPIR04jEEwp17rICPWsbqqSFFzPYc2CTV73bgFTcj4b
    jieTgljanf3JYJIoaYDNbewMHPigQaVLL28kQbuKPXP8kK0uIODZQmK4CIXUNEKM6JQUyH3qRP8q
    VMfNfcdED8iQSYUOHqKKoH3TGbltxoYs2wYrUu4uc0+hKIwejr/Y2oZx3Mbhgs5kF3wPpahxFN3b
    SsfHld+LSsA4ikisOK7dnwtrF8dr4qzaYZ2aPi63sfl8Nm99ePgQAaMEWlwIbGICltlHtnBehbrV
    CHFDlax9ACNjiyBV2gNkx8LAFaoBWP7kkvAVtu1IuZhQxtwXmzcvZTpbZ02LDP85OKNRfyq2BV4k
    o4+jMdJ626OjU40SICOcwH2sxTFhy8U/oBI+9C/twWbNTYVB07TyCphrjLziaj4eCCekwQlu0Nvj
    0dHQBjq+f6vgrcjFaSA46P1SQDcWEhP6oC+syXdDlUBZl/KTi8f2Z6FYpaFaic86aNow4VWYVnqX
    tBDkUevXrKugyHNyaVISluoAhJrFzJswXR0HSAVxcZP3LnQDjZIedqmpJMkks+aR/MwjAcF6XXfJ
    sPzLDv5zAnkElyq+Ew2znz/ITfhrgh8ViPxIr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0f2xLwXutSsYysV1JZLFS90WdxxpEmTFIF9/KaQR/sNs3s2P2qlgVgqWYHY
    GUGOhbPFLqKfoVNNGWjYsqZJ5t3ruwASZW8oKYAgiz87TEhWKo+AZ+M20YDCLfnOcF8nrWPDot9A
    aeh4c36ewkVc3QRtJq2Dr51IUFLZi7cxxc5JHq8aZNT+wSX5X7fanrRkLcBaRiDhuHgdDCRKu4x9
    eLv6Nba2o8t0x3Xuz6Ri2AX5yid+KrEzpLRQbps2JPOWaggDcSvB9TCO2ZZjvYycNs7VF8gsMtgc
    60AmcQAvAG48yJmL4TNGOr9sD0KDoG+ty5x6nWSpnXPBZNGD7mw58nUhnVrXNuhmibX8RCaPKaXj
    zRzf5QQIKzlx4USO2t1ZprSnJ0qOtp02XceaZ6OT5evkiDvXHLyiwsoChxxd+kzZtrHPtegJjE0a
    p0p31D7bH+HOYxLZaf38L8/s+eoRmxe/zjp5kTMHdTtCt9WO8gDTRD9kekCQuiU/qPzFRRGrF0f4
    bUIvCh+jddxs0D65AvXoE3HByKvtUv9rt/Q5y7h9HaUEnhPQUUWxKA69/kthwZsLhBdSy8q4EovI
    ZQKi7mcNagT6has23ljGIZ4TPJ7rD2yqy8UMF3NCsK687io5DAqZHoxe4M5GXZdahWgQHuc=
  </Signature>
</Certificate>

Modified client/1.0/pkgd.eagle.harpy.asc from [fc3f08128b] to [8faad96846].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJX3Jv+AAoJEFAslq9JXcLZpUkQAJEaqgCgi4nVyU+3rA904TMC
vgExhr5Zoh1MtUVJwbMjP+89PUdFfN+wdc78GOl3ppJ2aYOqQj6hrmvnnLxcR3F1
eYm2XfaLTt7gZzL574ZRWH0CmTl+fZNWdsJdZieCI61uazobyVAdXBxgiNw66m6h
WH0Dp959Fm9HAOIiG1XWwjAuijcetVuM1dMYXDWKfZo7TU2FXugH0H5Twy3AkI6n
/aAQAm2uxVmCSLH3f9ItgzG5OY0Ll9IVJuclH67sZuELoTrCDFydRmlIx2+9LjCI
WcFVEc/6p4uAQYxpDuB0qc5vrv0g1NlMurlB9pK+x5O3kuFvFFsL/Lg3a0zOx4Uv
2P7T7dF4r7g+uPKpYoqliWQ2dnmZJsSy4erDPChg5yOj5zg0gzvq75mgqTy8vxXB
VnB2q+SPZtbNCC8ZMn7sMZPhucNR9pygsGYvWARuZorQ3zuc7yceXCHNMyzoPY46
CYxTok0imW33/Fma4dTcsK0yYIA9msixEtN+Ml1e6mQKwl7of8KRcTAmuj/WVO7Y
CWXWImY2LSHIHKZEIw+KQGb9D5tGt/aHaqPQ8Fqo6FRAidEBgqhvGaqhvKKVkILY
b1EOYPolMc51FPQK5c1gK3mjKB72MV+CGjBDwkRXmT8p0penqbqEKPpShHbaYUT5
qZbPcfDsRDe6KBUR/EC4
=2kxw
-----END PGP SIGNATURE-----




|
|
|
|
|
|
|
|
|
|
|
|
|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJYBbdkAAoJEFAslq9JXcLZl7oP/23sOD1PpaYZAxEJ07AuQBeV
IAA71jqm5VGUXoIcbODxMkdK8BCPcVon3bcsetr0Bpud9ZB93BFCg+8rzmu54kId
M/5cUzWwN2Kl0/yCFqENUV1JdPAtsENjBisKOw6C8tLJJoUZJG2r3L02j4l566dU
2IeVfkd9qw9zcahYXUmfTJNa4x/Skph85QQyUY1gjkVKAipMyrgxvQm4P4/M9fkD
GST66LzIoMEqZ3LpnLJ8coapxHdz//4v7Y28dkpCwK+7DPXINSSHvHqcspVIlvGi
w16Xt7ZTMcyejXXN+n+SsGBxtb/C3bXc9qsyAhuIfenX3QONShPIyxL4YUj5fBMV
I2jD6oklQ/UidDitHeox5AII9mz23Qq0Qk/vVCX0nGqmsgg/+1Ope3Tx+uRPTrp2
z/f8P+CVcWvqIl2NWqEoGEOCOKqBuJPNsAJ05/MzSMVK+66XbA+7G6PIGYSXouFS
1wB0cOI3zvpvILNe53ZchKo3S0iAwB5/3/uyxKE8Kg9LMWQSleosPLT7TcXP1xP3
T3Y4tgggBCGDb9u6YzzTDWTPZ0GKt9ZhjJm+Os+eHHKgj4i9+MDYIkm1fryiKDPO
mzRsW33EN7bsjFJ+y8KqjiMlgZtN8eSfCdIefos4x+y4I4MJ6n04xNBmyliID72X
Lc4O+yPj9v6eik4db2gW
=1i2t
-----END PGP SIGNATURE-----

Modified client/1.0/pkgd.settings.mistachkin.eagle from [56397e71db] to [586ea524a0].

11
12
13
14
15
16
17

# this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id: $
#
###############################################################################

variable quiet false








>
11
12
13
14
15
16
17
18
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id: $
#
###############################################################################

variable quiet false
variable persistentRootDirectory [file join $::env(TEMP) pkgd_override]

Modified client/1.0/pkgd.settings.mistachkin.eagle.harpy from [1f57a9339e] to [0c8a4f3f6a].

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED.
-->
<Certificate xmlns="https://eagle.to/2011/harpy"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Protocol>None</Protocol>
  <Vendor>Mistachkin Systems</Vendor>
  <Id>755dcca1-be85-46ab-9bf5-533a4a0844fa</Id>
  <HashAlgorithm>SHA512</HashAlgorithm>
  <EntityType>Script</EntityType>
  <TimeStamp>2016-08-25T21:28:05.9804687Z</TimeStamp>
  <Duration>-1.00:00:00</Duration>
  <Key>0x9559f6017247e3e2</Key>
  <Signature>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PgBRh+O9/mVYkAX0pPSX1zL/PsWi9CoA
    YxJ51PSOhf38v3jtH9utCNrw1qupW3IEuV4k7KJs0sWqt3ltQLKMthUOY2g6ex40J/g6R2VNmzzX
    cYCtnfbae7zzm/1xtK9/QOmDcPbtPpDBVylaTrbPR4U0dxIN21FXNmZMGjGX0mco8ro1BfufojYS
    1LKwLBjqkvChlpOeSMxvJTLaI/Ui5XIgqF9KFmHELoPGi6sZHFFKLzSleog+tlmIs2OLY2Z6OnuN
    B06ZrKhZwXI30AX/3pVRk+t3trHQqfEPYorAzE7qG1soGDn1aAzyTdCKR4D0aY8UPuSM6N7olbdM
    X3iCwxOEAH789U1oOsu0n3su2WW2WQw/XgZV0wqN9CVeKRZwFaIRHID35EU3zzs97PH/bJVSPtZ1
    1AjOLqYx3ne0+PleroXrWxDJhjfxUCc0bEisclEz6YV5n/NbfWlmXMU6mmUHMIb5hSFgJLx83ICO
    jJaSxfM1OykNqjiDe6rJfcBfvDVnDhoVELEL6fgMZNNqFU5ZN55y5lYOZkvYONkUVf/QfnRTu918
    6wVuMHT6nydz0choUSa/q31yIPTPvVB4Rjqcni+WkvGwLMoSr7dtCCUx0nLEzizInGg7nX0=
  </Signature>
</Certificate>







|


|



|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED.
-->
<Certificate xmlns="https://eagle.to/2011/harpy"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Protocol>None</Protocol>
  <Vendor>Mistachkin Systems</Vendor>
  <Id>a4a30140-8aec-40b7-89af-44cecdef8193</Id>
  <HashAlgorithm>SHA512</HashAlgorithm>
  <EntityType>Script</EntityType>
  <TimeStamp>2016-10-18T03:47:22.9220000Z</TimeStamp>
  <Duration>-1.00:00:00</Duration>
  <Key>0x9559f6017247e3e2</Key>
  <Signature>
    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
  </Signature>
</Certificate>

Modified client/1.0/pkgr.eagle from [2dae113b30] to [c59f9c8fa4].

132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
      2 {set codeString return}
      3 {set codeString break}
      4 {set codeString continue}
      default {set codeString [appendArgs unknown( $code )]}
    }

    if {[string length $result] > 0} then {
      return [appendArgs $codeString ": " [list $result]]
    } else {
      return $codeString
    }
  }

  #
  # NOTE: This procedure emits a message to the package repository client







|







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
      2 {set codeString return}
      3 {set codeString break}
      4 {set codeString continue}
      default {set codeString [appendArgs unknown( $code )]}
    }

    if {[string length $result] > 0} then {
      return [appendArgs $codeString ", " [list $result]]
    } else {
      return $codeString
    }
  }

  #
  # NOTE: This procedure emits a message to the package repository client
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
  #
  # NOTE: This procedure returns non-zero if the specified string value
  #       looks like an OpenPGP signature.  The value argument is the string
  #       to check.  The value 27 used within this procedure is the length
  #       of the literal string "-----END PGP SIGNATURE-----".
  #
  # <public>
  proc isPgpSignature { value } {
    set value [string trim $value]
    set length [string length $value]

    if {$length == 0 || ([string first [string trim {
      -----BEGIN PGP SIGNATURE-----
    }] $value] == 0 && [string first [string trim {
      -----END PGP SIGNATURE-----







|







200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
  #
  # NOTE: This procedure returns non-zero if the specified string value
  #       looks like an OpenPGP signature.  The value argument is the string
  #       to check.  The value 27 used within this procedure is the length
  #       of the literal string "-----END PGP SIGNATURE-----".
  #
  # <public>
  proc isOpenPgpSignature { value } {
    set value [string trim $value]
    set length [string length $value]

    if {$length == 0 || ([string first [string trim {
      -----BEGIN PGP SIGNATURE-----
    }] $value] == 0 && [string first [string trim {
      -----END PGP SIGNATURE-----
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
  #       in the specified (named) file.  Non-zero is only returned if the
  #       OpenPGP signature is verified successfully.  A script error should
  #       not be raised by this procedure.  The fileName argument must be
  #       the fully qualified path and file name of the OpenPGP signature
  #       file to verify.
  #
  # <public>
  proc verifyPgpSignature { fileName } {
    variable pgpCommand

    if {[isEagle]} then {
      set fileName [appendArgs \" $fileName \"]

      if {[catch {
        eval exec -success Success [subst $pgpCommand]
      }] == 0} then {
        return true
      }
    } else {
      if {[catch {
        eval exec [subst $pgpCommand] 2>@1
      }] == 0} then {
        return true
      }
    }

    return false
  }







|
|





|





|







280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
  #       in the specified (named) file.  Non-zero is only returned if the
  #       OpenPGP signature is verified successfully.  A script error should
  #       not be raised by this procedure.  The fileName argument must be
  #       the fully qualified path and file name of the OpenPGP signature
  #       file to verify.
  #
  # <public>
  proc verifyOpenPgpSignature { fileName } {
    variable openPgpCommand

    if {[isEagle]} then {
      set fileName [appendArgs \" $fileName \"]

      if {[catch {
        eval exec -success Success [subst $openPgpCommand]
      }] == 0} then {
        return true
      }
    } else {
      if {[catch {
        eval exec [subst $openPgpCommand] 2>@1
      }] == 0} then {
        return true
      }
    }

    return false
  }
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
            [namespace current] ::getFileTempName]]]

        eagle [list proc $newProcName(3) {} [info body [appendArgs \
            [namespace current] ::tclMustBeReady]]]

        return [eagle $script(outer)]
      }
    } elseif {[isPgpSignature $metadata(certificate)]} then {
      #
      # NOTE: If there is no package script, there is nothing we
      #       can do here.
      #
      if {[string length $metadata(script)] > 0} then {
        #
        # NOTE: Figure out temporary file name for the downloaded script







|







1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
            [namespace current] ::getFileTempName]]]

        eagle [list proc $newProcName(3) {} [info body [appendArgs \
            [namespace current] ::tclMustBeReady]]]

        return [eagle $script(outer)]
      }
    } elseif {[isOpenPgpSignature $metadata(certificate)]} then {
      #
      # NOTE: If there is no package script, there is nothing we
      #       can do here.
      #
      if {[string length $metadata(script)] > 0} then {
        #
        # NOTE: Figure out temporary file name for the downloaded script
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
          writeFile $fileName(2) $metadata(certificate)
        }

        #
        # NOTE: Attempt to verify the OpenPGP signature for the package
        #       script.
        #
        if {[verifyPgpSignature $fileName(2)]} then {
          #
          # NOTE: Delete the temporary files that we created for the
          #       OpenPGP signature verification.
          #
          eval $script(cleanup)
        } else {
          #
          # NOTE: Delete the temporary files that we created for the
          #       OpenPGP signature verification.
          #
          eval $script(cleanup)

          #
          # NOTE: OpenPGP signature verification failed.  Raise an error
          #       and do not proceed with evaluating the package script.
          #
          error "bad PGP signature"
        }

        #
        # NOTE: The OpenPGP signature was verified; use the downloaded
        #       package script verbatim.
        #
        set script(inner) $metadata(script)







|
















|







1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
          writeFile $fileName(2) $metadata(certificate)
        }

        #
        # NOTE: Attempt to verify the OpenPGP signature for the package
        #       script.
        #
        if {[verifyOpenPgpSignature $fileName(2)]} then {
          #
          # NOTE: Delete the temporary files that we created for the
          #       OpenPGP signature verification.
          #
          eval $script(cleanup)
        } else {
          #
          # NOTE: Delete the temporary files that we created for the
          #       OpenPGP signature verification.
          #
          eval $script(cleanup)

          #
          # NOTE: OpenPGP signature verification failed.  Raise an error
          #       and do not proceed with evaluating the package script.
          #
          error "bad OpenPGP signature"
        }

        #
        # NOTE: The OpenPGP signature was verified; use the downloaded
        #       package script verbatim.
        #
        set script(inner) $metadata(script)
1245
1246
1247
1248
1249
1250
1251






































































1252
1253
1254
1255
1256
1257
1258
          }
        }
      }
    } else {
      error "unsupported script certificate"
    }
  }







































































  #
  # NOTE: This procedure returns non-zero if the specified package can be
  #       downloaded, i.e. because it is not required for the downloading
  #       process itself to be functional, etc.  The package argument is
  #       the name of the package to check.
  #







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
          }
        }
      }
    } else {
      error "unsupported script certificate"
    }
  }

  #
  # NOTE: This procedure returns non-zero if the specified package appears to
  #       be present.  The package argument is the name of the package being
  #       sought, it cannot be an empty string.  The version argument must be
  #       a specific version -OR- a package specification that conforms to TIP
  #       #268.
  #
  proc isPackagePresent { package version } {
    set command [list package present $package]
    if {[string length $version] > 0} then {lappend command $version}

    if {[set code [catch $command result]] == 0} then {
      pkgLog [appendArgs \
          "package \"" [formatPackageName $package $version] \
          "\" was loaded: " [formatResult $code $result]]

      return true
    } else {
      pkgLog [appendArgs \
          "package \"" [formatPackageName $package $version] \
          "\" was not loaded: " [formatResult $code $result]]

      return false
    }
  }

  #
  # NOTE: This procedure returns non-zero if the specified package appears to
  #       be available.  The package argument is the name of the package being
  #       sought, it cannot be an empty string.  The version argument must be
  #       a specific version -OR- a package specification that conforms to TIP
  #       #268.
  #
  proc isPackageAvailable { package version } {
    set packageVersions [package versions $package]

    if {[llength $packageVersions] == 0} then {
      pkgLog [appendArgs \
          "package \"" [formatPackageName $package $version] \
          "\" is not available: no versions"]

      return false
    }

    if {[string length $version] == 0} then {
      pkgLog [appendArgs \
          "package \"" [formatPackageName $package $version] \
          "\" is available: no version"]

      return true
    }

    foreach packageVersion $packageVersions {
      if {[package vsatisfies $packageVersion $version]} then {
        pkgLog [appendArgs \
            "package \"" [formatPackageName $package $version] \
            "\" is available: version satisfied by \"" \
            [formatPackageName $package $packageVersion] \"]

        return true
      }
    }

    pkgLog [appendArgs \
        "package \"" [formatPackageName $package $version] \
        "\" is not available: version not satisfied"]

    return false
  }

  #
  # NOTE: This procedure returns non-zero if the specified package can be
  #       downloaded, i.e. because it is not required for the downloading
  #       process itself to be functional, etc.  The package argument is
  #       the name of the package to check.
  #
1398
1399
1400
1401
1402
1403
1404
























1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415

1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429

1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446

1447
1448
1449
1450

1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466

1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
  #       here, because Eagle does not add a version argument when one is
  #       not explicitly supplied to the [package require] sub-command.
  #
  proc packageUnknownHandler { package {version ""} } {
    variable verboseUnknownResult

    #
























    # NOTE: First, run our special [package unknown] handler.
    #
    if {[canDownloadPackage $package]} then {
      set code(1) [catch {
        getPackageFromRepository $package $version handler
      } result(1)]

      if {$verboseUnknownResult} then {
        pkgLog [appendArgs \
            "repository handler results for package \"" [formatPackageName \
            $package $version] "\" are " [formatResult $code(1) $result(1)]]

      }
    }

    #
    # NOTE: Next, run the saved [package unknown] handler.
    #
    set code(2) [catch {
      runSavedPackageUnknownHandler $package $version
    } result(2)]

    if {$verboseUnknownResult} then {
      pkgLog [appendArgs \
          "saved handler results for package \"" [formatPackageName \
          $package $version] "\" are " [formatResult $code(2) $result(2)]]

    }

    #
    # NOTE: Maybe check for the package and then optionally log results.
    #
    if {$verboseUnknownResult} then {
      set ifNeededVersion [getIfNeededVersion \
          $package [packageRequirementToVersion $version]]

      if {[string length $ifNeededVersion] > 0} then {
        set command [list package ifneeded $package $ifNeededVersion]

        if {[catch $command result(3)] == 0 && \
            [string length $result(3)] > 0} then {
          pkgLog [appendArgs \
              "package script for \"" [formatPackageName $package \
              $ifNeededVersion] "\" was added: " [list $result(3)]]

        } else {
          pkgLog [appendArgs \
              "package script for \"" [formatPackageName $package \
              $ifNeededVersion] "\" was not added: " [list $result(3)]]

        }
      } else {
        pkgLog [appendArgs \
            "package script for \"" [formatPackageName $package \
            $ifNeededVersion] "\" was not added"]
      }

      set command [list package present $package]
      if {[string length $version] > 0} then {lappend command $version}

      if {[catch $command] == 0} then {
        pkgLog [appendArgs \
            "package \"" [formatPackageName $package $version] \
            "\" was loaded"]
      } else {
        pkgLog [appendArgs \

            "package \"" [formatPackageName $package $version] \
            "\" was not loaded"]
      }
    }
  }

  #
  # NOTE: This procedure evaluates the package repository client settings
  #       script file, if it exists.  Any script errors raised are not
  #       masked.  The script argument must be the fully qualified path







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|


|

|



|
|
>






|

|



|
|
>












|
|


|
>



|
>







<
<
|
<
<
|
<
|
<
>
|
<
<







1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555


1556


1557

1558

1559
1560


1561
1562
1563
1564
1565
1566
1567
  #       here, because Eagle does not add a version argument when one is
  #       not explicitly supplied to the [package require] sub-command.
  #
  proc packageUnknownHandler { package {version ""} } {
    variable verboseUnknownResult

    #
    # NOTE: First, run the saved [package unknown] handler.
    #
    set code(1) [catch {
      runSavedPackageUnknownHandler $package $version
    } result(1)]

    if {$verboseUnknownResult} then {
      pkgLog [appendArgs \
          "initial saved handler results for package \"" \
          [formatPackageName $package $version] "\" are " \
          [formatResult $code(1) $result(1)]]
    }

    #
    # NOTE: If the saved [package unknown] handler succeeded -AND- the
    #       package can now be loaded (or is somehow already loaded?),
    #       then skip running the repository handler.
    #
    if {$code(1) == 0 && ([isPackagePresent $package $version] || \
        [isPackageAvailable $package $version])} then {
      return
    }

    #
    # NOTE: Next, run our special [package unknown] handler.
    #
    if {[canDownloadPackage $package]} then {
      set code(2) [catch {
        getPackageFromRepository $package $version handler
      } result(2)]

      if {$verboseUnknownResult} then {
        pkgLog [appendArgs \
            "repository handler results for package \"" \
            [formatPackageName $package $version] "\" are " \
            [formatResult $code(2) $result(2)]]
      }
    }

    #
    # NOTE: Next, run the saved [package unknown] handler.
    #
    set code(3) [catch {
      runSavedPackageUnknownHandler $package $version
    } result(3)]

    if {$verboseUnknownResult} then {
      pkgLog [appendArgs \
          "subsequent saved handler results for package \"" \
          [formatPackageName $package $version] "\" are " \
          [formatResult $code(3) $result(3)]]
    }

    #
    # NOTE: Maybe check for the package and then optionally log results.
    #
    if {$verboseUnknownResult} then {
      set ifNeededVersion [getIfNeededVersion \
          $package [packageRequirementToVersion $version]]

      if {[string length $ifNeededVersion] > 0} then {
        set command [list package ifneeded $package $ifNeededVersion]

        if {[set code(4) [catch $command result(4)]] == 0 && \
            [string length $result(4)] > 0} then {
          pkgLog [appendArgs \
              "package script for \"" [formatPackageName $package \
              $ifNeededVersion] "\" was added: " [formatResult \
              $code(4) $result(4)]]
        } else {
          pkgLog [appendArgs \
              "package script for \"" [formatPackageName $package \
              $ifNeededVersion] "\" was not added: " [formatResult \
              $code(4) $result(4)]]
        }
      } else {
        pkgLog [appendArgs \
            "package script for \"" [formatPackageName $package \
            $ifNeededVersion] "\" was not added"]
      }



      #


      # NOTE: Check (and log) if the package is now present.  The return

      #       value here is ignored.

      #
      isPackagePresent $package $version


    }
  }

  #
  # NOTE: This procedure evaluates the package repository client settings
  #       script file, if it exists.  Any script errors raised are not
  #       masked.  The script argument must be the fully qualified path
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
      }
    }

    #
    # NOTE: The command to use when verifying OpenPGP signatures for the
    #       downloaded package scripts.
    #
    variable pgpCommand; # DEFAULT: gpg2 --verify {${fileName}}

    if {![info exists pgpCommand]} then {
      set pgpCommand {gpg2 --verify {${fileName}}}
    }

    #
    # NOTE: Verify that the package script matches the current language
    #       when called from the [package unknown] handler?
    #
    variable strictUnknownLanguage; # DEFAULT: true







|

|
|







1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
      }
    }

    #
    # NOTE: The command to use when verifying OpenPGP signatures for the
    #       downloaded package scripts.
    #
    variable openPgpCommand; # DEFAULT: gpg2 --verify {${fileName}}

    if {![info exists openPgpCommand]} then {
      set openPgpCommand {gpg2 --verify {${fileName}}}
    }

    #
    # NOTE: Verify that the package script matches the current language
    #       when called from the [package unknown] handler?
    #
    variable strictUnknownLanguage; # DEFAULT: true

Modified client/1.0/pkgr.eagle.asc from [71e8876083] to [0d916dd6f9].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJYBVUMAAoJEFAslq9JXcLZ/28P+QHqfz72NA83ojjtBSO9+g41
i6LVJCSq8bBfHkl+wE+kthWmkETHlu6IY67rBuJb0QDDi4VENwwUG+KyFVbRwt+w
u0PfXhbDTZi0KzD7NbktGR8IQkLH4JRXnAxQNRtYP5/gIQuFBurh8w/1XXzi/sop
cSSa8+qpNfQ60zVvrhE8yFvfw9VpE/RInqbWyOOMj5MST+BgoEjUjvVPHrox5IWR
XnUFgV+iwvaCqjynI5swTuunpL13SxMUpdJf/Ghekij+vEXZQQtScdwP4XwgoB7r
l2neeUOhlcfXISI5PhnjmJ8oRhJ7yMVCJXaFkzkq8dKOgrSDAkaGFFjZEkNPKGVo
eguLISIXNG1A3ENYXuKyTsImk7cHEMHCdCeCi9rjzGVK+EvCiptIz/7Z6U7CZHKs
GxcKJQa2Byd6jKn7qZR2xu3CQ7NGsYMb08/PXNn0rIdNQVvqAYAhvGBiwQW1H7Sw
Ohl55pYAMkbCiC2tsX6IcvCVjLqwZJYe6hPh5rdRrJ5bc/KLaGLzttMC1j1dNmL5
xDMTVdR1G9HyrMj42CO+1Ch8a4hMPLxbXieBq434diEVXNRX8oU1Ap2S+WFa8tiO
VIjTbR6+8bJ+1uWHwNDYa/h+CLFDyUFlty4kqqYSqACWCrnbXXvqTneY00HpbOjG
eNW7DqidxrUaQOBD5WIA
=JT0J
-----END PGP SIGNATURE-----




|
|
|
|
|
|
|
|
|
|
|
|
|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJYBbdnAAoJEFAslq9JXcLZxPQP/i4KZZMEwqs+jQfPANo5f8qP
+9ssu+DFplo1Hsap5yt/ny/fLvnKad2BFJyk4H9ZiwDqlW2LRig3Y2TBMLqV79L2
8f2WOBXQcDeKEYez+pl7DlzIYHrVl8DVnBcBdXpB5HTIiKgQdknR9Zvd3v2cukYd
wLyRY6AgIvFWGKA1zt2+ahKaf6owVhihKN2z6yU7EedpkiqaIiE8thUJ73wKLdZK
jpnYVHo5TQE3t0q2Yd22pE2a9DyxXWXvSvpAwqHEhOiA6i4o9UPfPWyK0vp6h7ch
VB+AE5Ge5oMiZPOlpRo69nKzZ//EGddPm1BKJMEWFIJHAVXD4jEORRIGP/Xjz3JD
GpslFcS/bOdQeiPlI2niKd9r/sIlGqw9BNC2FkVGGdvhfCE1VGlxt7ztY3nhYskm
oCKwu4PWfub5uzi4gm2cqB8/42SMxec7oSersdc53QK+IHHPLHe3DBer8FnfGJ9F
kcLMPcxmSnEqzImgwpoAbDTHODmNkNnMaBOk1Qk1+r8EUHAIN6nTiqTTHDvIGpgz
QhN6K43Pakh4vRI1P4rz5pVNCvdDplVPZqigVqfIbOZuX3rFFf5Fg7UIb/j/ZeRD
39xHRL+mzJE0xaJzx7tAXa6TBiWlWeuvFx/4r7bo+goQRDal375W1HZfML0BzLZ8
E3OkuWCJzd76JCWX+YiN
=DB2P
-----END PGP SIGNATURE-----

Modified client/1.0/pkgr.eagle.harpy from [f98d20219b] to [ebe5c49bfc].

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED.
-->
<Certificate xmlns="https://eagle.to/2011/harpy"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Protocol>None</Protocol>
  <Vendor>Mistachkin Systems</Vendor>
  <Id>c1c2fa54-3faf-4030-8a03-3afb5193103c</Id>
  <HashAlgorithm>SHA512</HashAlgorithm>
  <EntityType>Script</EntityType>
  <TimeStamp>2016-10-17T22:46:29.1886016Z</TimeStamp>
  <Duration>-1.00:00:00</Duration>
  <Key>0x9559f6017247e3e2</Key>
  <Signature>
    cPsLegRZ55htlcRvYaMHnlEaXPn4/46h/AcJey/gmDryb76QMEUTZORVusqRenqIWweb4qhB/PPD
    3Mh3/zs8NmitdURsi8b9sxu/Ouhrjrolxk3TrLxXqMRTWCEFzQ5pRWzpf2iS4H/pNEu6WmV+7/LJ
    NXrRlgx6DxBQtlrigoXU9U6lBSPjaN+053bEO/SUGfhHHmqVdP9gKofMiAN7mz1who6xfuCMOZWn
    KaKeyrW9a3eadV7GVtZSK77Q4bCfmVDIG6R5xFOFASGQj5sTBTfZjKE4TMcvbaf2rXDZ8mqNcqK9
    ElBaAqIjyyMsPnU31XPsxi4f2ojJm07g+h8p1faPvw2/grVal9La/mYo5Fq/QPS89sWbsm6j9Rgj
    mWyDaQKGrid82rQzuvEUi5SL1AaEwMa6r9AtPscNGgWBvGcGojv14y9hEEhUGPHbYOgXua+GEvNL
    O6oP+YuhxLMBVp63rOJbCUnaH1jciyuy7NkNeAOlfN0xpoCe5VspBc/Pn3adC+uPhG6pq/y3T6Vn
    CfJd/itbCNPRNqV+v5Uk5zgo+y1bur+umsTQLezoxDdh43GPR29Un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NfBFmTED4Pi9h/q2aP0DsIOrzl6u5mK0QesCETv6fkAGTwVk=
  </Signature>
</Certificate>







|


|



|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED.
-->
<Certificate xmlns="https://eagle.to/2011/harpy"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Protocol>None</Protocol>
  <Vendor>Mistachkin Systems</Vendor>
  <Id>19feaf1b-9e2e-4252-a67f-e63356c08eaa</Id>
  <HashAlgorithm>SHA512</HashAlgorithm>
  <EntityType>Script</EntityType>
  <TimeStamp>2016-10-18T05:45:38.6905547Z</TimeStamp>
  <Duration>-1.00:00:00</Duration>
  <Key>0x9559f6017247e3e2</Key>
  <Signature>
    xgzHN3usO4J3t/XdGyLf73btuE987aQ5Wtds56DS0Ln6eaPbEZHogPf/IvgbsN1l+QC08iwNcnZy
    T+bcQ84mYk6VCGoGRuO0Bckwya9+NGs242CqZBudoUOe2/YAP6doJ0TkOBQgjoDAyQUNkMhSk0AQ
    ZWthOQXJNkPXwCv7Nx+ONWMDWLolN5ik4QXZIBTAHaO2UUaxt4MXa7CeEDLE49Z5a/bNDmUZyWfj
    41X+jDsmaop/tSuGmLBAVcZWJ4sAA4saHJSHGjGIVvEDyVXCLP9DT1eH/s0ds14W+Gsl6BYtEyvk
    aC+uhyqDqd7GQ6/REC8qLs/gchZ6Pi9XmQiGOzXGuY8MB3+Q3FDhu/F8r6srA2TIeZVPHs9Ra5XQ
    rcs1zD6pg5UGRDdOBzcm1iOTJkVXaZoCHlVcpx1YerBcoT7pPXgm1VHh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ZsQeFLV30Na8gwfOyUW2oMcempi4xnRNAy9/GvTmQRqCG0OgelPROJdSNK50mSwl72ObH7dI0Qu
    NekuOjCxaKoXMQ8BuvQ6EfF2URZq4CLPmvVf3KuGzWn2aycG1B/1FTA29/n7dYsDfeGyQ9vbO7Rc
    ZHKATjcumVBpcsnk390n3MLYPcGTfO4Olf26837Cw1M0dO2BOGLBrvakLvXrZwdd5k2F6rY=
  </Signature>
</Certificate>

Modified client/1.0/pkgr.eagle.harpy.asc from [167f4e126f] to [ecd0a5cbb1].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJYBVUOAAoJEFAslq9JXcLZiPwQAIzmXsShuPAnAsIj6QZiy+9d
IyyyW2zuUBpCt6swFCS4sXGN0tr8gcTZMvwlQBVwnE4bDCFfjKPmtQMZ0+cDa+Cx
cL4qbYXD7Mm60mcrBgvL2hUAnHTGN0S9N7T0oEMmGKiRj8UI3uknOpxigeNLw1Jt
ZDeCD4VvvyOt/pja86kng5DI4zyOw/8uGBQcIXihp+LTAVif50TI6+ZYAhKTzalk
TGbDEniieDBgL8eeaLnrME+26le5vaG18ufSG7NwLdxTojfDv8qKb3Go5VW8VjKE
fh8eMBwfYPWWBihoSpMb/miPrdCzWbOnRM77ZK70KWJS1VtODZ9whoq8flgos8uC
stV1X94Pjxz+rL7GQSmnIOhVDwZb/7Yl5sHVGLBWMUixISEu4oIATjclKQV/Pcez
OIRBnD//O2tYtu3V1niB5P4oUFdUUdSLek+uwu2fAXGswusyPx1ZXeusGFAAe4te
jwx6NTbPQtOmKNMLnW+LvES7gXhoIzpv0GhXkM9hblbaCltBcoKijtJk7wj0Jrtb
g1KOJcJ+6NqKVuPrdeN+IOJeMqPJGxKmQT6MVVhOg+yH1vv/0d7ogB3VOgzCfSu+
GuXcCVcwN96lV19miFflu2xP2Eg4LgS5I6LWtKwveh5jjWoYAFP0CNmFX3pUsfTo
5Hv2eDTbVVBoW08oVH0B
=7fMl
-----END PGP SIGNATURE-----




|
|
|
|
|
|
|
|
|
|
|
|
|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Eagle Package Repository

iQIcBAABCAAGBQJYBbdpAAoJEFAslq9JXcLZm+AQALTT+dgXi4HXPZU1zs9I9zXE
+L+KL+V7OrCxXOd5XS23q7KJ2GT3omXWnn+OY4Dejer/kU67RuDgPVUmwUs/apAW
39iRzwdVWXPSeC4kd0bjPhN1W0P4ttJXJiT7NuLH6+UI1sEBIdTGCa1k6Vnf+N0b
y6xbZISKPwWUMjnuZPFs/ARpJaPtk4QeDuDwiiglQSzQBnoh/1sktpl8vhGq5C7A
ANKQoDXgSi1RvZgNw4liQ4WsKYWPsrmnSrlQxN0cEm/w6t+ghnp4a34z6bCoYtCz
K9lXDUISqRbPt2m48IUhllULk/MgGAubPR4T7yuBS/oC5nsYT3BqTZcx1/1ih5BH
bWS23u44DcHYkt011aO5t94kZBV9pSXXFKXO6/7NLbZDIt/cVN8czo2Uoe+c4yfq
+HWIql+nKzo7lTPeqaf3w1egoKANbOo+Ye/eXJjGQu99I2oGVNrLY3XF+66LIbm/
YMu1Uj3qj/1nthcQPfJZRsN/EXAGHkOgAoSfRfFaMkeL7nvD6BcFtdgU5N+uSiKM
sHDYUUKIP7ciZI2MAbVTgCB838/D20rDzbmTBs6y9iEV6guv8PctGhTe9OZFemDS
42YqwqAzlNEmZXqCp7LYulDpFdq7Iu9kbEglBzQFwcIFax1Wlu+J+k0gBC1QpTqi
cz9O31sYB9P/gh2nviKf
=UvlD
-----END PGP SIGNATURE-----