Re: Please review wip/openct wip/opensc and wip/opensc-signer

Torsten Harenberg <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>

Am 19.02.2009 9:45 Uhr, schrieb Hasso Tepper:
>> * I don't know the ext of "libpcsclite.so" is good for all platform
>> >     (dylib for Darwin?  sl for HP-UX?)
>
> I have no idea.
>

opensc and opensc-signer compile fine under Darwin. Package content is 
afterwards:

[11:15] harenber@dhcp-109-16:/Volumes/dump/pkgsrc/wip/opensc $ 
/Volumes/dump/pkg/sbin/pkg_info -L opensc
Information for opensc-0.11.6nb2:

Files:
/Volumes/dump/pkg/bin/cardos-info
/Volumes/dump/pkg/bin/cryptoflex-tool
/Volumes/dump/pkg/bin/eidenv
/Volumes/dump/pkg/bin/netkey-tool
/Volumes/dump/pkg/bin/opensc-config
/Volumes/dump/pkg/bin/opensc-explorer
/Volumes/dump/pkg/bin/opensc-tool
/Volumes/dump/pkg/bin/piv-tool
/Volumes/dump/pkg/bin/pkcs11-tool
/Volumes/dump/pkg/bin/pkcs15-crypt
/Volumes/dump/pkg/bin/pkcs15-init
/Volumes/dump/pkg/bin/pkcs15-tool
/Volumes/dump/pkg/bin/rutoken-tool
/Volumes/dump/pkg/include/opensc/asn1.h
/Volumes/dump/pkg/include/opensc/cardctl.h
/Volumes/dump/pkg/include/opensc/compression.h
/Volumes/dump/pkg/include/opensc/emv.h
/Volumes/dump/pkg/include/opensc/errors.h
/Volumes/dump/pkg/include/opensc/log.h
/Volumes/dump/pkg/include/opensc/opensc.h
/Volumes/dump/pkg/include/opensc/pkcs11.h
/Volumes/dump/pkg/include/opensc/pkcs11-opensc.h
/Volumes/dump/pkg/include/opensc/pkcs15-init.h
/Volumes/dump/pkg/include/opensc/pkcs15.h
/Volumes/dump/pkg/include/opensc/scconf.h
/Volumes/dump/pkg/include/opensc/types.h
/Volumes/dump/pkg/include/opensc/ui.h
/Volumes/dump/pkg/lib/libopensc.la
/Volumes/dump/pkg/lib/libopensc.2.0.0.dylib
/Volumes/dump/pkg/lib/libopensc.2.dylib
/Volumes/dump/pkg/lib/libopensc.a
/Volumes/dump/pkg/lib/libopensc.dylib
/Volumes/dump/pkg/lib/libpkcs15init.la
/Volumes/dump/pkg/lib/libpkcs15init.2.0.0.dylib
/Volumes/dump/pkg/lib/libpkcs15init.2.dylib
/Volumes/dump/pkg/lib/libpkcs15init.a
/Volumes/dump/pkg/lib/libpkcs15init.dylib
/Volumes/dump/pkg/lib/libscconf.la
/Volumes/dump/pkg/lib/libscconf.2.0.0.dylib
/Volumes/dump/pkg/lib/libscconf.2.dylib
/Volumes/dump/pkg/lib/libscconf.a
/Volumes/dump/pkg/lib/libscconf.dylib
/Volumes/dump/pkg/lib/onepin-opensc-pkcs11.la
/Volumes/dump/pkg/lib/onepin-opensc-pkcs11.a
/Volumes/dump/pkg/lib/onepin-opensc-pkcs11.so
/Volumes/dump/pkg/lib/opensc-pkcs11.la
/Volumes/dump/pkg/lib/opensc-pkcs11.a
/Volumes/dump/pkg/lib/opensc-pkcs11.so
/Volumes/dump/pkg/lib/pkcs11-spy.la
/Volumes/dump/pkg/lib/pkcs11-spy.a
/Volumes/dump/pkg/lib/pkcs11-spy.so
/Volumes/dump/pkg/lib/pkcs11/onepin-opensc-pkcs11.so
/Volumes/dump/pkg/lib/pkcs11/opensc-pkcs11.so
/Volumes/dump/pkg/lib/pkcs11/pkcs11-spy.so
/Volumes/dump/pkg/lib/pkgconfig/libopensc.pc
/Volumes/dump/pkg/lib/pkgconfig/libpkcs15init.pc
/Volumes/dump/pkg/lib/pkgconfig/libscconf.pc
/Volumes/dump/pkg/man/man1/cardos-info.1
/Volumes/dump/pkg/man/man1/cryptoflex-tool.1
/Volumes/dump/pkg/man/man1/netkey-tool.1
/Volumes/dump/pkg/man/man1/opensc-config.1
/Volumes/dump/pkg/man/man1/opensc-explorer.1
/Volumes/dump/pkg/man/man1/opensc-tool.1
/Volumes/dump/pkg/man/man1/pkcs11-tool.1
/Volumes/dump/pkg/man/man1/pkcs15-crypt.1
/Volumes/dump/pkg/man/man1/pkcs15-init.1
/Volumes/dump/pkg/man/man1/pkcs15-tool.1
/Volumes/dump/pkg/man/man3/sc_app_info_t.3
/Volumes/dump/pkg/man/man3/sc_append_record.3
/Volumes/dump/pkg/man/man3/sc_asn1_decode.3
/Volumes/dump/pkg/man/man3/sc_asn1_encode.3
/Volumes/dump/pkg/man/man3/sc_asn1_entry.3
/Volumes/dump/pkg/man/man3/sc_asn1_find_tag.3
/Volumes/dump/pkg/man/man3/sc_asn1_print_tags.3
/Volumes/dump/pkg/man/man3/sc_asn1_put_tag.3
/Volumes/dump/pkg/man/man3/sc_asn1_read_tag.3
/Volumes/dump/pkg/man/man3/sc_asn1_skip_tag.3
/Volumes/dump/pkg/man/man3/sc_asn1_verify_tag.3
/Volumes/dump/pkg/man/man3/sc_base64_decode.3
/Volumes/dump/pkg/man/man3/sc_base64_encode.3
/Volumes/dump/pkg/man/man3/sc_card_ctl.3
/Volumes/dump/pkg/man/man3/sc_card_t.3
/Volumes/dump/pkg/man/man3/sc_card_valid.3
/Volumes/dump/pkg/man/man3/sc_check_sw.3
/Volumes/dump/pkg/man/man3/sc_connect_card.3
/Volumes/dump/pkg/man/man3/sc_copy_asn1_entry.3
/Volumes/dump/pkg/man/man3/sc_create_file.3
/Volumes/dump/pkg/man/man3/sc_delete_file.3
/Volumes/dump/pkg/man/man3/sc_delete_record.3
/Volumes/dump/pkg/man/man3/sc_der_clear.3
/Volumes/dump/pkg/man/man3/sc_der_copy.3
/Volumes/dump/pkg/man/man3/sc_detect_card_presence.3
/Volumes/dump/pkg/man/man3/sc_disconnect_card.3
/Volumes/dump/pkg/man/man3/sc_enum_apps.3
/Volumes/dump/pkg/man/man3/sc_establish_context.3
/Volumes/dump/pkg/man/man3/sc_file_dup.3
/Volumes/dump/pkg/man/man3/sc_file_free.3
/Volumes/dump/pkg/man/man3/sc_file_new.3
/Volumes/dump/pkg/man/man3/sc_file_t.3
/Volumes/dump/pkg/man/man3/sc_find_app_by_aid.3
/Volumes/dump/pkg/man/man3/sc_find_pkcs15_app.3
/Volumes/dump/pkg/man/man3/sc_format_apdu.3
/Volumes/dump/pkg/man/man3/sc_format_asn1_entry.3
/Volumes/dump/pkg/man/man3/sc_free_apps.3
/Volumes/dump/pkg/man/man3/sc_get_cache_dir.3
/Volumes/dump/pkg/man/man3/sc_get_challenge.3
/Volumes/dump/pkg/man/man3/sc_get_data.3
/Volumes/dump/pkg/man/man3/sc_list_files.3
/Volumes/dump/pkg/man/man3/sc_lock.3
/Volumes/dump/pkg/man/man3/sc_make_cache_dir.3
/Volumes/dump/pkg/man/man3/sc_put_data.3
/Volumes/dump/pkg/man/man3/sc_read_binary.3
/Volumes/dump/pkg/man/man3/sc_read_record.3
/Volumes/dump/pkg/man/man3/sc_release_context.3
/Volumes/dump/pkg/man/man3/sc_select_file.3
/Volumes/dump/pkg/man/man3/sc_set_card_driver.3
/Volumes/dump/pkg/man/man3/sc_strerror.3
/Volumes/dump/pkg/man/man3/sc_transmit_apdu.3
/Volumes/dump/pkg/man/man3/sc_unlock.3
/Volumes/dump/pkg/man/man3/sc_update_binary.3
/Volumes/dump/pkg/man/man3/sc_update_dir.3
/Volumes/dump/pkg/man/man3/sc_update_record.3
/Volumes/dump/pkg/man/man3/sc_wait_for_event.3
/Volumes/dump/pkg/man/man3/sc_write_binary.3
/Volumes/dump/pkg/man/man3/sc_write_record.3
/Volumes/dump/pkg/man/man5/pkcs15-profile.5
/Volumes/dump/pkg/share/doc/opensc/NEWS
/Volumes/dump/pkg/share/doc/opensc/README
/Volumes/dump/pkg/share/examples/opensc/opensc.conf
/Volumes/dump/pkg/share/opensc/asepcos.profile
/Volumes/dump/pkg/share/opensc/cardos.profile
/Volumes/dump/pkg/share/opensc/cyberflex.profile
/Volumes/dump/pkg/share/opensc/entersafe.profile
/Volumes/dump/pkg/share/opensc/flex.profile
/Volumes/dump/pkg/share/opensc/gpk.profile
/Volumes/dump/pkg/share/opensc/incrypto34.profile
/Volumes/dump/pkg/share/opensc/jcop.profile
/Volumes/dump/pkg/share/opensc/miocos.profile
/Volumes/dump/pkg/share/opensc/muscle.profile
/Volumes/dump/pkg/share/opensc/oberthur.profile
/Volumes/dump/pkg/share/opensc/pkcs15.profile
/Volumes/dump/pkg/share/opensc/rutoken.profile
/Volumes/dump/pkg/share/opensc/setcos.profile
/Volumes/dump/pkg/share/opensc/starcos.profile

[11:22] harenber@dhcp-109-16:/Volumes/dump/pkgsrc/wip/opensc-signer $ 
/Volumes/dump/pkg/sbin/pkg_info -L opensc-signer
Information for opensc-signer-0.11.6:

Files:
/Volumes/dump/pkg/lib/mozilla/plugins/opensc-signer.so
/Volumes/dump/pkg/lib/opensc-signer.la
/Volumes/dump/pkg/lib/opensc-signer.a
/Volumes/dump/pkg/lib/opensc-signer.so


However, I cannot test the packages itself due to the lack of hardware.

If there is any way to test w/o a smart card, please give me a hint.

Thanks for the packages,

   Torsten

P.S.: opensc does not compile with a newer (non-standard) gcc-4.4 on 
Darwin, it is complaining about too many pragmas.


-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     [email protected]  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.