summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-09-22 16:58:30 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-09-22 16:58:30 +0000
commite624b28a90352f237f174b4ee3fb2b3f95f1d6a2 (patch)
treeccf682d84006b342bd2d716a73fa2e49485611f0 /security
parentMulberry email client resurrected. Mulberry is now freeware. (diff)
Update to 0.6.9 release.
Notes
Notes: svn path=/head/; revision=173612
Diffstat (limited to 'security')
-rw-r--r--security/openct/Makefile2
-rw-r--r--security/openct/distinfo6
-rw-r--r--security/openct/files/etoken.conf.in4
-rw-r--r--security/openct/files/patch-src_ifd_sys-bsd.c11
4 files changed, 17 insertions, 6 deletions
diff --git a/security/openct/Makefile b/security/openct/Makefile
index 554281655283..bbbb98169ea0 100644
--- a/security/openct/Makefile
+++ b/security/openct/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openct
-PORTVERSION= 0.6.8
+PORTVERSION= 0.6.9
CATEGORIES= security
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/
diff --git a/security/openct/distinfo b/security/openct/distinfo
index 8155d7a16a5e..ee2977ba7435 100644
--- a/security/openct/distinfo
+++ b/security/openct/distinfo
@@ -1,3 +1,3 @@
-MD5 (openct-0.6.8.tar.gz) = 8fca95145f28929bf5f06bc03b32b625
-SHA256 (openct-0.6.8.tar.gz) = d86faaf0ae847781a4ee9203bf16cb4b15b3dcb8c769ed8cd760f4a266562bd9
-SIZE (openct-0.6.8.tar.gz) = 658965
+MD5 (openct-0.6.9.tar.gz) = 26c7f8d9fabbd698303601cc7d844252
+SHA256 (openct-0.6.9.tar.gz) = 878703c82cbc1caac996063f1efc54d1adc2b2b94a03dad97d813ca6691a6ef0
+SIZE (openct-0.6.9.tar.gz) = 665513
diff --git a/security/openct/files/etoken.conf.in b/security/openct/files/etoken.conf.in
index b7a30f392032..bc5b1aadb6c6 100644
--- a/security/openct/files/etoken.conf.in
+++ b/security/openct/files/etoken.conf.in
@@ -3,11 +3,11 @@ attach 100 {
device-name "ugen[0-9]+";
match "vendor" "0x0529";
match "product" "0x0514";
- action "%%PREFIX%%/sbin/openct-control attach /dev/$device-name usb:529/514";
+ action "%%PREFIX%%/sbin/openct-control attach usb:529/514 usb /dev/$device-name";
};
detach 100 {
device-name "ugen[0-9]+";
match "vendor" "0x0529";
match "product" "0x0514";
- action "/usr/bin/pkill -fx '%%PREFIX%%/sbin/ifdhandler -H [a-z0-9]+ /dev/$device-name'";
+ action "/usr/bin/pkill -fx '%%PREFIX%%/sbin/ifdhandler -H [a-z0-9]+ usb /dev/$device-name'";
};
diff --git a/security/openct/files/patch-src_ifd_sys-bsd.c b/security/openct/files/patch-src_ifd_sys-bsd.c
new file mode 100644
index 000000000000..69846e55e484
--- /dev/null
+++ b/security/openct/files/patch-src_ifd_sys-bsd.c
@@ -0,0 +1,11 @@
+--- src/ifd/sys-bsd.c.orig Fri Sep 22 10:25:11 2006
++++ src/ifd/sys-bsd.c Fri Sep 22 10:25:34 2006
+@@ -380,7 +380,7 @@
+ "usb:/dev/%s", device_info.udi_devnames[0]);
+ #endif /* __OpenBSD__ */
+
+- ifd_(driver, typedev, -1);
++ ifd_spawn_handler(driver, typedev, -1);
+ }
+ close(controller_fd);
+ }