Changeset 20243 in project


Ignore:
Timestamp:
09/11/10 11:29:11 (11 years ago)
Author:
Alaric Snell-Pym
Message:

ugarit: Removed explicit dependency on hash, compression, and encryption eggs, instead replacing them with dynamic autoloading.

Location:
release/4/ugarit/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/ugarit/trunk/ugarit-core.scm

    r16950 r20243  
    4949(import chicken)
    5050
    51 (require-library lzma)
    52 (import (prefix lzma lzma:))
     51(use autoload)
     52
     53(autoload lzma (compress lzma:compress) (decompress lzma:decompress))
     54(autoload z3 z3:encode-buffer z3:decode-buffer)
     55(autoload tiger-hash tiger192-digest tiger192-binary-digest)
     56(autoload sha2 sha256-digest sha384-digest sha512-digest sha512-binary-digest)
     57(autoload aes make-aes128-encryptor make-aes128-decryptor make-aes192-encryptor make-aes192-decryptor make-aes256-encryptor make-aes256-decryptor)
     58
    5359(use srfi-1)
    5460(use srfi-4)
     
    6268(use miscmacros)
    6369(use posix)
    64 (use tiger-hash)
    65 (use sha2)
    66 (use aes)
    6770(use crypto-tools)
    68 (use z3)
    6971(use stty)
    7072(use matchable)
    7173(use regex)
    72 
    7374
    7475;;
     
    183184                     (tiger192-binary-digest (string-append (tiger192-binary-digest block) (blob->string iv))))
    184185                     iv 16))))
    185                
     186
    186187               ; Generate initial IV from the key and current time
    187                (move-memory! (string->blob (tiger192-binary-digest 
     188               (move-memory! (string->blob (tiger192-binary-digest
    188189                  (string-append (blob->string key) (number->string (time->seconds (current-time)))))) iv 16)
    189190
  • release/4/ugarit/trunk/ugarit.meta

    r15242 r20243  
    55 (license "BSD")
    66 (category data)
    7  (needs miscmacros gdbm tiger-hash sha2 aes crypto-tools z3 lzma srfi-37 stty matchable)
     7 (needs miscmacros gdbm crypto-tools srfi-37 stty matchable autoload)
     8 (optional lzma z3 tiger-hash sha2 aes)
    89 (author "Alaric Snell-Pym")
    910 (synopsis "A backup/archival system based on content-addressed storage"))
Note: See TracChangeset for help on using the changeset viewer.