Permalink
Browse files

Imported SHA library

  • Loading branch information...
hintjens committed Nov 13, 2012
1 parent f61be45 commit 37a9fb3e81a1a3f9edfde851371ea34c1ff83e3b
Showing with 332 additions and 226 deletions.
  1. +3 −2 Makefile.am
  2. 0 README
  3. +2 −0 configure.in
  4. +2 −1 doc/rfc19.txt
  5. +17 −3 sha-1.1/config.h.in
  6. 0 sha-1.1/config/dontdelete
  7. +143 −39 sha-1.1/depcomp
  8. +136 −116 sha-1.1/install-sh
  9. +29 −65 sha-1.1/missing
View
@@ -1,4 +1,5 @@
+SUBDIRS = src doc sha-1.1
+
ACLOCAL_AMFLAGS = -I config
-SUBDIRS = src doc
-DIST_SUBDIRS = src doc
+DIST_SUBDIRS = src doc sha-1.1
View
0 README
No changes.
View
@@ -13,6 +13,8 @@ AC_CONFIG_MACRO_DIR(config)
AM_CONFIG_HEADER(src/platform.h)
AM_INIT_AUTOMAKE(tar-ustar)
+AC_CONFIG_SUBDIRS([sha-1.1])
+
# This defines PACKAGE_VERSION_... in src/platform.h
PV_MAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1`
PV_MINOR=`echo $PACKAGE_VERSION | cut -d . -f 2`
View
@@ -79,6 +79,7 @@ path = string ; Full path or path prefix
options = dictionary
dictionary = size *key-value
key-value = string ; Formatted as name=value
+cache = dictionary ; File SHA1 signatures
; The server confirms the subscription
ICANHAZ-OK = signature %x06
@@ -174,7 +175,7 @@ The client MAY sent NOM commands at any point after it has received an OHAI-OK f
++++ The CHEEZBURGER Command
-The server SHALL send file content to the client using CHEEZBURGER commands. Each CHEEZBURGER command shall deliver a chunk of file data starting at a specific offset. The server SHOULD send the content of a single file as consecutive chunks but clients MUST not depend on this behavior.
+The server SHALL send file content to the client using CHEEZBURGER commands. Each CHEEZBURGER command shall deliver a chunk of file data starting at a specific offset. The server MUST send the content of a single file as consecutive chunks and clients MAY depend on this behavior.
The headers field is reserved for future use.
View
@@ -1,5 +1,8 @@
/* config.h.in. Generated from configure.in by autoheader. */
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
@@ -45,6 +48,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
/* Define to the version of this package. */
#undef PACKAGE_VERSION
@@ -54,9 +60,17 @@
/* Version number of package */
#undef VERSION
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+# undef WORDS_BIGENDIAN
+# endif
+#endif
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
No changes.
Oops, something went wrong.

0 comments on commit 37a9fb3

Please sign in to comment.