Hi Klaus.

        There are some bash-ism codes.  But no need bash by following
        patches.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff -urN opencryptoki-2.3.2.orig/configure.in opencryptoki-2.3.2/configure.in
--- opencryptoki-2.3.2.orig/configure.in        2010-07-29 21:28:41.000000000 
+0900
+++ opencryptoki-2.3.2/configure.in     2011-01-02 20:59:04.799674411 +0900
@@ -630,7 +630,7 @@
 
 CFLAGS="$CFLAGS $DEBUG_CFLAGS -DPKCS64 -D_XOPEN_SOURCE=500"
 
-CFLAGS+=' -DCONFIG_PATH=\"$(localstatedir)/lib/opencryptoki\" 
-DSBIN_PATH=\"$(sbindir)\" -DLIB_PATH=\"$(libdir)\"'
+CFLAGS="$CFLAGS -DCONFIG_PATH='\"$localstatedir/lib/opencryptoki\"' 
-DSBIN_PATH='\"$sbindir\"' -DLIB_PATH='\"$libdir\"'"
 
 # At this point, CFLAGS is set to something sensible
 AC_PROG_CC
diff -urN opencryptoki-2.3.2.orig/usr/sbin/pkcs11_startup/pkcs11_startup.in 
opencryptoki-2.3.2/usr/sbin/pkcs11_startup/pkcs11_startup.in
--- opencryptoki-2.3.2.orig/usr/sbin/pkcs11_startup/pkcs11_startup.in   
2010-07-29 21:28:41.000000000 +0900
+++ opencryptoki-2.3.2/usr/sbin/pkcs11_startup/pkcs11_startup.in        
2011-01-02 21:02:24.102673776 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 #
 #
diff -urN opencryptoki-2.3.2.orig/usr/sbin/pkcs_slot/pkcs_slot.in 
opencryptoki-2.3.2/usr/sbin/pkcs_slot/pkcs_slot.in
--- opencryptoki-2.3.2.orig/usr/sbin/pkcs_slot/pkcs_slot.in     2010-07-29 
21:28:41.000000000 +0900
+++ opencryptoki-2.3.2/usr/sbin/pkcs_slot/pkcs_slot.in  2011-01-02 
21:03:23.368673725 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 #
 #
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

        Thank you.

-- 
Norikatsu Shigemura <[email protected]>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to