From: hackbard Date: Tue, 24 Jan 2006 01:57:25 +0000 (+0000) Subject: improved openct package build X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d2f62822f7fc44e506c38db4e70a349df3a8c5d;p=hdw-linux%2Fhdw-linux.git improved openct package build --- diff --git a/doc/CHANGELOG b/doc/CHANGELOG index e53b376..653a660 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,3 +1,7 @@ +*) 2006-01-24 + +- modified openct package + *) 2006-01-15 - added librfid and libmrtd package diff --git a/packages/hackbard/openct/ascii_atr.patch b/packages/hackbard/openct/ascii_atr.patch new file mode 100644 index 0000000..3705013 --- /dev/null +++ b/packages/hackbard/openct/ascii_atr.patch @@ -0,0 +1,11 @@ +--- ./src/tools/openct-tool.c.orig 2006-01-24 02:32:25.000000000 +0100 ++++ ./src/tools/openct-tool.c 2006-01-24 02:36:36.000000000 +0100 +@@ -336,6 +336,8 @@ + } else { + for (m = 0; m < len; m++) + printf(" %02x", atr[m]); ++ printf("\n# AnswerToReset (hex & ascii)\n"); ++ dump(atr, len); + } + printf("\n"); + } diff --git a/packages/hackbard/openct/openct b/packages/hackbard/openct/openct index fc0e743..df8ea3a 100644 --- a/packages/hackbard/openct/openct +++ b/packages/hackbard/openct/openct @@ -6,3 +6,9 @@ # [S] 3-2 # [D] openct-0.6.6.tar.gz http://www.opensc.org/files/openct/ +post_install() { + rm -rf $docdir && mkdir -p $docdir/html + cp -r doc/api doc/*.html $docdir/html + mkdir -p $root/var/run/openct + cp etc/openct.conf $root/etc + } diff --git a/packages/hackbard/openct/openct.init b/packages/hackbard/openct/openct.init new file mode 100644 index 0000000..9e66c59 --- /dev/null +++ b/packages/hackbard/openct/openct.init @@ -0,0 +1,3 @@ +s_value="90" +bin="openct-control" +params="init"