pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat Add SHA256/SHA384/SHA512 to libnb...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e40ce78a6bc5
branches:  trunk
changeset: 528554:e40ce78a6bc5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon May 07 16:38:47 2007 +0000

description:
Add SHA256/SHA384/SHA512 to libnbcompat. Update version to 20070507.

diffstat:

 pkgtools/libnbcompat/Makefile              |      4 +-
 pkgtools/libnbcompat/PLIST                 |      3 +-
 pkgtools/libnbcompat/files/Makefile.in     |      3 +-
 pkgtools/libnbcompat/files/README          |      7 +-
 pkgtools/libnbcompat/files/configure       |  10638 +++++++++++++-------------
 pkgtools/libnbcompat/files/configure.ac    |     14 +-
 pkgtools/libnbcompat/files/nbcompat/sha2.h |    150 +
 pkgtools/libnbcompat/files/sha2.c          |    919 ++
 pkgtools/libnbcompat/files/sha2hl.c        |    250 +
 9 files changed, 6821 insertions(+), 5167 deletions(-)

diffs (truncated from 16286 to 300 lines):

diff -r 15591ee9e8a3 -r e40ce78a6bc5 pkgtools/libnbcompat/Makefile
--- a/pkgtools/libnbcompat/Makefile     Mon May 07 15:18:23 2007 +0000
+++ b/pkgtools/libnbcompat/Makefile     Mon May 07 16:38:47 2007 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.47 2005/10/10 18:28:08 reed Exp $
+# $NetBSD: Makefile,v 1.48 2007/05/07 16:38:47 joerg Exp $
 #
 # NOTE: If you update this package, it is *mandatory* that you update
 #      pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual
 #      list of tested and supported platforms.
 #
 
-DISTNAME=              libnbcompat-20041024
+DISTNAME=              libnbcompat-20070507
 CATEGORIES=            pkgtools devel
 MASTER_SITES=          # empty
 DISTFILES=             # empty
diff -r 15591ee9e8a3 -r e40ce78a6bc5 pkgtools/libnbcompat/PLIST
--- a/pkgtools/libnbcompat/PLIST        Mon May 07 15:18:23 2007 +0000
+++ b/pkgtools/libnbcompat/PLIST        Mon May 07 16:38:47 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2004/08/23 03:32:12 jlam Exp $
+@comment $NetBSD: PLIST,v 1.14 2007/05/07 16:38:47 joerg Exp $
 include/nbcompat.h
 include/nbcompat/assert.h
 include/nbcompat/cdefs.h
@@ -23,6 +23,7 @@
 include/nbcompat/regex.h
 include/nbcompat/rmd160.h
 include/nbcompat/sha1.h
+include/nbcompat/sha2.h
 include/nbcompat/stat.h
 include/nbcompat/statvfs.h
 include/nbcompat/stdio.h
diff -r 15591ee9e8a3 -r e40ce78a6bc5 pkgtools/libnbcompat/files/Makefile.in
--- a/pkgtools/libnbcompat/files/Makefile.in    Mon May 07 15:18:23 2007 +0000
+++ b/pkgtools/libnbcompat/files/Makefile.in    Mon May 07 16:38:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.32 2005/10/10 18:28:08 reed Exp $
+# $NetBSD: Makefile.in,v 1.33 2007/05/07 16:38:47 joerg Exp $
 #
 
 srcdir=                @srcdir@
@@ -45,6 +45,7 @@
                nbcompat/regex.h \
                nbcompat/rmd160.h \
                nbcompat/sha1.h \
+               nbcompat/sha2.h \
                nbcompat/stat.h \
                nbcompat/statvfs.h \
                nbcompat/stdio.h \
diff -r 15591ee9e8a3 -r e40ce78a6bc5 pkgtools/libnbcompat/files/README
--- a/pkgtools/libnbcompat/files/README Mon May 07 15:18:23 2007 +0000
+++ b/pkgtools/libnbcompat/files/README Mon May 07 16:38:47 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.13 2006/12/17 19:27:57 jschauma Exp $
+$NetBSD: README,v 1.14 2007/05/07 16:38:47 joerg Exp $
 
  0 Introduction
  ==============
@@ -62,6 +62,11 @@
        Linux/i386                      <schwarz%NetBSD.org@localhost>
        RHEL4 Linux 2.6/i386            <jschauma%NetBSD.org@localhost>
 
+libnbcompat-20070507 has been tested to build and install correctly
+on the following operating systems:
+
+       DragonFly-1.8/i386              <joerg%NetBSD.org@localhost>
+
  3 Usage
  =======
 
diff -r 15591ee9e8a3 -r e40ce78a6bc5 pkgtools/libnbcompat/files/configure
--- a/pkgtools/libnbcompat/files/configure      Mon May 07 15:18:23 2007 +0000
+++ b/pkgtools/libnbcompat/files/configure      Mon May 07 16:38:47 2007 +0000
@@ -1,83 +1,37 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for libnbcompat 20040911.
+# Generated by GNU Autoconf 2.61 for libnbcompat 20040911.
 #
 # Report bugs to <grant%NetBSD.org@localhost>.
 #
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
 ## --------------------- ##
 ## M4sh Initialization.  ##
 ## --------------------- ##
 
-# Be Bourne compatible
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
   NULLCMD=:
   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+"$@"}'='"$@"'
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-  set -o posix
-fi
-DUALCASE=1; export DUALCASE # for MKS sh
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
-fi
-
-
-# Work around bugs in pre-3.0 UWIN ksh.
-$as_unset ENV MAIL MAILPATH
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-  LC_TELEPHONE LC_TIME
-do
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-    eval $as_var=C; export $as_var
-  else
-    $as_unset $as_var
-  fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)$' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
-         /^X\/\(\/\/\)$/{ s//\1/; q; }
-         /^X\/\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-
-
-# PATH needs CR, and LINENO needs CR and PATH.
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in
+  *posix*) set -o posix ;;
+esac
+
+fi
+
+
+
+
+# PATH needs CR
 # Avoid depending upon Character Ranges.
 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
@@ -98,124 +52,466 @@
   rm -f conf$$.sh
 fi
 
-
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
-  # Find who we are.  Look in the path if we contain no path at all
-  # relative or not.
-  case $0 in
-    *[\\/]* ) as_myself=$0 ;;
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+  as_unset=unset
+else
+  as_unset=false
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+as_nl='
+'
+IFS=" ""       $as_nl"
+
+# Find who we are.  Look in the path if we contain no directory separator.
+case $0 in
+  *[\\/]* ) as_myself=$0 ;;
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 done
-
-       ;;
-  esac
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
-  # in which case we are not to be found in the path.
-  if test "x$as_myself" = x; then
-    as_myself=$0
+IFS=$as_save_IFS
+
+     ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+  as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+  { (exit 1); exit 1; }
+fi
+
+# Work around bugs in pre-3.0 UWIN ksh.
+for as_var in ENV MAIL MAILPATH
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+for as_var in \
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+  LC_TELEPHONE LC_TIME
+do
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+    eval $as_var=C; export $as_var
+  else
+    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   fi
-  if test ! -f "$as_myself"; then
-    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
-   { (exit 1); exit 1; }; }
-  fi
-  case $CONFIG_SHELL in
-  '')
+done
+
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
+  as_expr=expr
+else
+  as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+  as_basename=basename
+else
+  as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+        X"$0" : 'X\(//\)$' \| \
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+echo X/"$0" |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
+           s//\1/
+           q
+         }
+         /^X\/\(\/\/\)$/{
+           s//\1/
+           q
+         }
+         /^X\/\(\/\).*/{
+           s//\1/
+           q
+         }
+         s/.*/./; q'`



Home | Main Index | Thread Index | Old Index