ADDED HEADER Index: HEADER ================================================================== --- /dev/null +++ HEADER @@ -0,0 +1,8 @@ + @@UTIL@@ @@VERS@@ + +Release information: + pkg: @@UTIL@@ version @@VERS@@ + url: http://www.rkeene.org/devel/@@UTIL@@-@@VERS@@.tar.gz + date: @@DATE@@ +-------------------------------------------------------------------------- + ADDED README Index: README ================================================================== --- /dev/null +++ README @@ -0,0 +1,4 @@ +PKCS#11 Extension for Tcl. + +Can be used to load a PKCS#11 module (e.g., ActivClient, ActivCard, +CoolKey, CACKey) and perform cryptographic operations. Index: build/makearch.info ================================================================== --- build/makearch.info +++ build/makearch.info @@ -27,11 +27,11 @@ DOCS="README" DOC_HDR="HEADER" # These files follow the same convention as DOCS, but don't have the header # tacked onto them. -UPDATE_VARS="" +UPDATE_VARS="configure.ac" # This script is executed immediately after copying the files # to a temp directory to attempt to compile BEFORE="build/pre.sh" Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1,7 +1,7 @@ dnl Define ourselves -AC_INIT(tclpkcs11, 1.0) +AC_INIT(tclpkcs11, @@VERS@@) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_INSTALL Index: tclpkcs11.c ================================================================== --- tclpkcs11.c +++ tclpkcs11.c @@ -1560,11 +1560,11 @@ Tcl_NewStringObj("pkcs11", -1), Tcl_NewStringObj("::pki::pkcs11::encrypt ::pki::pkcs11::decrypt", -1), TCL_GLOBAL_ONLY ); - tclPkgProv_ret = Tcl_PkgProvide(interp, "pki::pkcs11", "1.0"); + tclPkgProv_ret = Tcl_PkgProvide(interp, "pki::pkcs11", PACKAGE_VERSION); if (tclPkgProv_ret != TCL_OK) { return(tclPkgProv_ret); } return(TCL_OK);