improved openct package build
authorhackbard <hackbard>
Tue, 24 Jan 2006 01:57:25 +0000 (01:57 +0000)
committerhackbard <hackbard>
Tue, 24 Jan 2006 01:57:25 +0000 (01:57 +0000)
doc/CHANGELOG
packages/hackbard/openct/ascii_atr.patch [new file with mode: 0644]
packages/hackbard/openct/openct
packages/hackbard/openct/openct.init [new file with mode: 0644]

index e53b376..653a660 100644 (file)
@@ -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 (file)
index 0000000..3705013
--- /dev/null
@@ -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");
+ }
index fc0e743..df8ea3a 100644 (file)
@@ -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 (file)
index 0000000..9e66c59
--- /dev/null
@@ -0,0 +1,3 @@
+s_value="90"
+bin="openct-control"
+params="init"