update oath-toolkit to 2.0.2 - new PSKC support goes into a subpackage
to avoid pulling in xmlsec+deps for the normal use.
This commit is contained in:
parent
7adce6f8c1
commit
726eb7e6ca
@ -1,27 +1,42 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2013/03/21 08:48:53 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2013/05/16 12:11:18 sthen Exp $
|
||||
|
||||
COMMENT = toolkit for OATH/HOTP and TOTP
|
||||
DISTNAME = oath-toolkit-1.6.2
|
||||
COMMENT-main= toolkit for OATH/HOTP and TOTP
|
||||
COMMENT-pskc= toolkit for RFC 6030 Portable Symmetric Key Container
|
||||
|
||||
V= 2.0.2
|
||||
DISTNAME= oath-toolkit-$V
|
||||
PKGNAME-main= oath-toolkit-$V
|
||||
PKGNAME-pskc= oath-toolkit-pskc-$V
|
||||
|
||||
SHARED_LIBS += oath 0.0 # 1.1
|
||||
SHARED_LIBS += pskc 0.0 # 0.1
|
||||
|
||||
CATEGORIES = security devel
|
||||
CATEGORIES= security devel
|
||||
|
||||
HOMEPAGE = http://www.nongnu.org/oath-toolkit/
|
||||
HOMEPAGE= http://www.nongnu.org/oath-toolkit/
|
||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=oath-toolkit/}
|
||||
|
||||
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
||||
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
||||
|
||||
# liboath: LGPLv2.1+
|
||||
# tools: GPLv3+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
# libraries: LGPLv2.1+, tools: GPLv3+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += c
|
||||
MULTI_PACKAGES= -main -pskc
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=oath-toolkit/}
|
||||
WANTLIB-main= c
|
||||
WANTLIB-pskc= c ltdl m xml2 xmlsec1 xslt z ${MODLIBICONV_WANTLIB}
|
||||
|
||||
SEPARATE_BUILD = Yes
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
||||
LIB_DEPENDS-main=
|
||||
LIB_DEPENDS-pskc= security/xmlsec \
|
||||
${MODLIBICONV_LIB_DEPENDS}
|
||||
MODULES= converters/libiconv
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
SEPARATE_BUILD= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
|
||||
post-install:
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/xml
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (oath-toolkit-1.6.2.tar.gz) = eIfcLulDy8DuARu5KzFiUg==
|
||||
RMD160 (oath-toolkit-1.6.2.tar.gz) = 0YaDe8ortp9Vzz2zBq3p0XHPkSg=
|
||||
SHA1 (oath-toolkit-1.6.2.tar.gz) = flnC2WckWapjdbVpHxUSEraBuEw=
|
||||
SHA256 (oath-toolkit-1.6.2.tar.gz) = MjrhXu5yeh4fJM2ZsvgnyUACr+w4mV6QaG5tzuSaUHo=
|
||||
SIZE (oath-toolkit-1.6.2.tar.gz) = 1740956
|
||||
SHA256 (oath-toolkit-2.0.2.tar.gz) = KVHrwqPpoDMzYYztp/4sAOFviAJV09T0gGjNgWRxWUQ=
|
||||
SIZE (oath-toolkit-2.0.2.tar.gz) = 3946021
|
||||
|
@ -6,3 +6,8 @@ Supported technologies include the event-based HOTP algorithm (RFC 4226)
|
||||
and the time-based TOTP algorithm (draft-mraihi-totp-timebased-07).
|
||||
OATH stands for Open AuTHentication, which is the organization that
|
||||
specify the algorithms.
|
||||
|
||||
The OATH Toolkit also includes a library and tool for the Portable Symmetric
|
||||
Key Container (PSKC) data format specified in RFC 6030 for dealing with
|
||||
key provisioning; these are packaged separately to reduce dependencies
|
||||
for users only requiring OTP.
|
4
security/oath-toolkit/pkg/DESCR-pskc
Normal file
4
security/oath-toolkit/pkg/DESCR-pskc
Normal file
@ -0,0 +1,4 @@
|
||||
The OATH Toolkit makes it easy to build one-time password authentication
|
||||
systems. This package contains a shared library and a command line tool
|
||||
for working with the Portable Symmetric Key Container (PSKC) data format
|
||||
specified in RFC 6030 for dealing with key provisioning.
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/03/16 10:10:49 sthen Exp $
|
||||
@lib lib/liboath.so.${LIBoath_VERSION}
|
@ -1,27 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/16 10:10:49 sthen Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/oathtool
|
||||
include/liboath/
|
||||
include/liboath/oath.h
|
||||
lib/liboath.a
|
||||
lib/liboath.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/liboath.pc
|
||||
@man man/man1/oathtool.1
|
||||
share/gtk-doc/
|
||||
share/gtk-doc/html/
|
||||
share/gtk-doc/html/liboath/
|
||||
share/gtk-doc/html/liboath/api-index-1-4-0.html
|
||||
share/gtk-doc/html/liboath/api-index-1-6-0.html
|
||||
share/gtk-doc/html/liboath/api-index-full.html
|
||||
share/gtk-doc/html/liboath/ch01.html
|
||||
share/gtk-doc/html/liboath/home.png
|
||||
share/gtk-doc/html/liboath/index.html
|
||||
share/gtk-doc/html/liboath/index.sgml
|
||||
share/gtk-doc/html/liboath/left.png
|
||||
share/gtk-doc/html/liboath/liboath-oath.html
|
||||
share/gtk-doc/html/liboath/liboath.devhelp
|
||||
share/gtk-doc/html/liboath/liboath.devhelp2
|
||||
share/gtk-doc/html/liboath/right.png
|
||||
share/gtk-doc/html/liboath/style.css
|
||||
share/gtk-doc/html/liboath/up.png
|
29
security/oath-toolkit/pkg/PLIST-main
Normal file
29
security/oath-toolkit/pkg/PLIST-main
Normal file
@ -0,0 +1,29 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.1 2013/05/16 12:11:18 sthen Exp $
|
||||
@pkgpath security/oath-toolkit
|
||||
@bin bin/oathtool
|
||||
include/liboath/
|
||||
include/liboath/oath.h
|
||||
lib/liboath.a
|
||||
lib/liboath.la
|
||||
@lib lib/liboath.so.${LIBoath_VERSION}
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/liboath.pc
|
||||
@man man/man1/oathtool.1
|
||||
@man man/man3/oath_authenticate_usersfile.3
|
||||
@man man/man3/oath_base32_decode.3
|
||||
@man man/man3/oath_base32_encode.3
|
||||
@man man/man3/oath_bin2hex.3
|
||||
@man man/man3/oath_check_version.3
|
||||
@man man/man3/oath_done.3
|
||||
@man man/man3/oath_hex2bin.3
|
||||
@man man/man3/oath_hotp_generate.3
|
||||
@man man/man3/oath_hotp_validate.3
|
||||
@man man/man3/oath_hotp_validate_callback.3
|
||||
@man man/man3/oath_init.3
|
||||
@man man/man3/oath_strerror.3
|
||||
@man man/man3/oath_strerror_name.3
|
||||
@man man/man3/oath_totp_generate.3
|
||||
@man man/man3/oath_totp_validate.3
|
||||
@man man/man3/oath_totp_validate2.3
|
||||
@man man/man3/oath_totp_validate2_callback.3
|
||||
@man man/man3/oath_totp_validate_callback.3
|
90
security/oath-toolkit/pkg/PLIST-pskc
Normal file
90
security/oath-toolkit/pkg/PLIST-pskc
Normal file
@ -0,0 +1,90 @@
|
||||
@comment $OpenBSD: PLIST-pskc,v 1.1 2013/05/16 12:11:18 sthen Exp $
|
||||
@bin bin/pskctool
|
||||
include/pskc/
|
||||
include/pskc/container.h
|
||||
include/pskc/enums.h
|
||||
include/pskc/errors.h
|
||||
include/pskc/exports.h
|
||||
include/pskc/global.h
|
||||
include/pskc/keypackage.h
|
||||
include/pskc/pskc.h
|
||||
include/pskc/version.h
|
||||
lib/libpskc.a
|
||||
lib/libpskc.la
|
||||
@lib lib/libpskc.so.${LIBpskc_VERSION}
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/libpskc.pc
|
||||
@man man/man1/pskctool.1
|
||||
@man man/man3/pskc_build_xml.3
|
||||
@man man/man3/pskc_check_version.3
|
||||
@man man/man3/pskc_done.3
|
||||
@man man/man3/pskc_free.3
|
||||
@man man/man3/pskc_get_cryptomodule_id.3
|
||||
@man man/man3/pskc_get_device_devicebinding.3
|
||||
@man man/man3/pskc_get_device_expirydate.3
|
||||
@man man/man3/pskc_get_device_issueno.3
|
||||
@man man/man3/pskc_get_device_manufacturer.3
|
||||
@man man/man3/pskc_get_device_model.3
|
||||
@man man/man3/pskc_get_device_serialno.3
|
||||
@man man/man3/pskc_get_device_startdate.3
|
||||
@man man/man3/pskc_get_device_userid.3
|
||||
@man man/man3/pskc_get_id.3
|
||||
@man man/man3/pskc_get_key_algorithm.3
|
||||
@man man/man3/pskc_get_key_algparm_chall_checkdigits.3
|
||||
@man man/man3/pskc_get_key_algparm_chall_encoding.3
|
||||
@man man/man3/pskc_get_key_algparm_chall_max.3
|
||||
@man man/man3/pskc_get_key_algparm_chall_min.3
|
||||
@man man/man3/pskc_get_key_algparm_resp_checkdigits.3
|
||||
@man man/man3/pskc_get_key_algparm_resp_encoding.3
|
||||
@man man/man3/pskc_get_key_algparm_resp_length.3
|
||||
@man man/man3/pskc_get_key_algparm_suite.3
|
||||
@man man/man3/pskc_get_key_data_b64secret.3
|
||||
@man man/man3/pskc_get_key_data_counter.3
|
||||
@man man/man3/pskc_get_key_data_secret.3
|
||||
@man man/man3/pskc_get_key_data_time.3
|
||||
@man man/man3/pskc_get_key_data_timedrift.3
|
||||
@man man/man3/pskc_get_key_data_timeinterval.3
|
||||
@man man/man3/pskc_get_key_friendlyname.3
|
||||
@man man/man3/pskc_get_key_id.3
|
||||
@man man/man3/pskc_get_key_issuer.3
|
||||
@man man/man3/pskc_get_key_policy_expirydate.3
|
||||
@man man/man3/pskc_get_key_policy_keyusages.3
|
||||
@man man/man3/pskc_get_key_policy_numberoftransactions.3
|
||||
@man man/man3/pskc_get_key_policy_pinencoding.3
|
||||
@man man/man3/pskc_get_key_policy_pinkeyid.3
|
||||
@man man/man3/pskc_get_key_policy_pinmaxfailedattempts.3
|
||||
@man man/man3/pskc_get_key_policy_pinmaxlength.3
|
||||
@man man/man3/pskc_get_key_policy_pinminlength.3
|
||||
@man man/man3/pskc_get_key_policy_pinusagemode.3
|
||||
@man man/man3/pskc_get_key_policy_startdate.3
|
||||
@man man/man3/pskc_get_key_profileid.3
|
||||
@man man/man3/pskc_get_key_reference.3
|
||||
@man man/man3/pskc_get_key_userid.3
|
||||
@man man/man3/pskc_get_keypackage.3
|
||||
@man man/man3/pskc_get_signed_p.3
|
||||
@man man/man3/pskc_get_version.3
|
||||
@man man/man3/pskc_global_done.3
|
||||
@man man/man3/pskc_global_init.3
|
||||
@man man/man3/pskc_global_log.3
|
||||
@man man/man3/pskc_init.3
|
||||
@man man/man3/pskc_keyusage2str.3
|
||||
@man man/man3/pskc_output.3
|
||||
@man man/man3/pskc_parse_from_memory.3
|
||||
@man man/man3/pskc_pinusagemode2str.3
|
||||
@man man/man3/pskc_sign_x509.3
|
||||
@man man/man3/pskc_str2keyusage.3
|
||||
@man man/man3/pskc_str2pinusagemode.3
|
||||
@man man/man3/pskc_str2valueformat.3
|
||||
@man man/man3/pskc_strerror.3
|
||||
@man man/man3/pskc_strerror_name.3
|
||||
@man man/man3/pskc_validate.3
|
||||
@man man/man3/pskc_valueformat2str.3
|
||||
@man man/man3/pskc_verify_x509crt.3
|
||||
share/xml/
|
||||
share/xml/pskc/
|
||||
share/xml/pskc/catalog-pskc.xml
|
||||
share/xml/pskc/pskc-schema.xsd
|
||||
share/xml/pskc/xenc-schema.xsd
|
||||
share/xml/pskc/xmldsig-core-schema.xsd
|
||||
@exec %D/share/libxml2/rebuild
|
||||
@unexec-delete %D/share/libxml2/rebuild
|
Loading…
x
Reference in New Issue
Block a user