diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-01-13 23:39:07 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-01-13 23:39:07 +0000 |
commit | 4b94dc7a0407fa192581e8cc5486e1c7613cafb6 (patch) | |
tree | 7576dab2e766574aaa5e5eaf4bf9e12c6802d8cb | |
parent | Remove old (diff) | |
download | historical-4b94dc7a0407fa192581e8cc5486e1c7613cafb6.tar.gz historical-4b94dc7a0407fa192581e8cc5486e1c7613cafb6.tar.bz2 historical-4b94dc7a0407fa192581e8cc5486e1c7613cafb6.zip |
Version bump; some of the patches have been merged in but we still have two to apply until next version.
Package-Manager: portage-2.2.0_alpha15/cvs/Linux x86_64
-rw-r--r-- | dev-libs/opencryptoki/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/opencryptoki/Manifest | 11 | ||||
-rw-r--r-- | dev-libs/opencryptoki/opencryptoki-2.3.3.ebuild | 82 |
3 files changed, 97 insertions, 5 deletions
diff --git a/dev-libs/opencryptoki/ChangeLog b/dev-libs/opencryptoki/ChangeLog index 75b50ebdf986..309712489c49 100644 --- a/dev-libs/opencryptoki/ChangeLog +++ b/dev-libs/opencryptoki/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/opencryptoki # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/ChangeLog,v 1.10 2011/01/07 22:53:33 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/ChangeLog,v 1.11 2011/01/13 23:39:07 flameeyes Exp $ + +*opencryptoki-2.3.3 (13 Jan 2011) + + 13 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org> + +opencryptoki-2.3.3.ebuild: + Version bump; some of the patches have been merged in but we still have two + to apply until next version. 07 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org> -files/opencryptoki-2.2.4.1-tpm_util.c.patch, diff --git a/dev-libs/opencryptoki/Manifest b/dev-libs/opencryptoki/Manifest index 7c240e57c249..09e911cc4413 100644 --- a/dev-libs/opencryptoki/Manifest +++ b/dev-libs/opencryptoki/Manifest @@ -4,13 +4,16 @@ Hash: SHA1 AUX pkcsslotd.init.2 663 RMD160 f572831162024c441589986ce36021fc48aca7ff SHA1 d82db8e526ddc2307200e1767aa2e55184d068c1 SHA256 80c2e13cb0e9255fa3fc13977c4d1c73a10be4740a50959b8d487d328a1e1192 DIST opencryptoki-2.3.2-backports-1.tar.bz2 5911 RMD160 2d802eddbc79dfd7d96252da42c31ce0b043fbb9 SHA1 6c6888ae31cd45fb533ebf8fe95584f9c382c57b SHA256 dba0be89b326afedb6b53d20f4410487cc050f285d0b1a3c11f20e2c45acb01e DIST opencryptoki-2.3.2.tar.bz2 665134 RMD160 2945879a367b787432189abd74262e60a3b237bb SHA1 c264f0158d516287846000cd1e90830b18ac4e1d SHA256 44fdf74a9eab2586240a69779c5c323e8378e8f2fde21cd4f8bd9186a24c30f7 +DIST opencryptoki-2.3.3-backports-1.tar.bz2 4141 RMD160 eb412c8d8e05773598bb0d18c89249ceb734bcbe SHA1 69dc573a3383ef69b110a5b84c79cfbf837c5871 SHA256 bf0c4f5d7a16442aa1843d81a9917f28163f834b981851d0548a0b3ab33809de +DIST opencryptoki-2.3.3.tar.bz2 694854 RMD160 a9ccedf5242dd611a50820fbdbb4dd9ee87a11d0 SHA1 663b1767ff33c71bd65e30e6d13d213f50528d6c SHA256 7ccae6350a7043c2abade1eb1517edb987f13e98584dd28733172e8d36600aa2 EBUILD opencryptoki-2.3.2.ebuild 2167 RMD160 a0b3f27addf56daa27755664913c1e28429dfc6a SHA1 cfc2bc6ee766632468d00500cfb57273d7746828 SHA256 46a3f3a0eb132b8835de10b4e11c5146d31bbd45ec8c2c7a9728ed87ba97bb1f -MISC ChangeLog 2527 RMD160 6a96d0a6eaf61491c83be7ecb87dd817e8dd1c67 SHA1 0f6149511803ec56ec7692790c11007a6681a4b8 SHA256 b951e0078cce8e8bedefc3c23bac7ab2977d4700d808c9430eb6702701e71d85 +EBUILD opencryptoki-2.3.3.ebuild 2167 RMD160 b46ca898d5f14d8902e9d6871770020d486979ea SHA1 34ec4286bee61919233a2c3864644b4d5dee2ff9 SHA256 7c4bfb0c026504a0570be939bf5adcb704b93987515da25c7af85133e430dd44 +MISC ChangeLog 2758 RMD160 e3aca06758c87208d7f687bfeb5e087c9d26fc36 SHA1 b0dce229fbe853768fb72b261a02323e6d99ff51 SHA256 d4327193a4b0240b36ff55285a4403b5b61647881006f3e868f5b5f31cbda3ad MISC metadata.xml 303 RMD160 c584fb11ce80c614b24f441dee3dc359c032c585 SHA1 72be61c516f86101ea2c6fec4d831a36c9371435 SHA256 6f37596c4a13d63dcbfe0b13494aacf994e803dbdf3190d1545f9fd8b355cead -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAk0nmWcACgkQAiZjviIA2XjMNACfWDKppsVTChSwJ72oXm/RVN2L -eewAnjbyn4j9lJ8Us8piYnx7z2UFCkYx -=mJmI +iEYEARECAAYFAk0vjO0ACgkQAiZjviIA2XhPOACeM0GCrXSqkMWn5Tj4UJ/Uw6Wh +JfAAoO/GF+F7u/c2hhbNvKgGWmM1xNaO +=QhbV -----END PGP SIGNATURE----- diff --git a/dev-libs/opencryptoki/opencryptoki-2.3.3.ebuild b/dev-libs/opencryptoki/opencryptoki-2.3.3.ebuild new file mode 100644 index 000000000000..261b4138b5f8 --- /dev/null +++ b/dev-libs/opencryptoki/opencryptoki-2.3.3.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/opencryptoki-2.3.3.ebuild,v 1.1 2011/01/13 23:39:07 flameeyes Exp $ + +EAPI="2" + +# backports are maintained as tags on Diego's repository on gitorious: +# http://gitorious.org/~flameeyes/opencryptoki/flameeyess-opencryptoki +BACKPORTS=1 + +inherit autotools eutils multilib + +DESCRIPTION="PKCS#11 provider for IBM cryptographic hardware" +HOMEPAGE="http://sourceforge.net/projects/opencryptoki" +SRC_URI="mirror://sourceforge/opencryptoki/${P}.tar.bz2 + ${BACKPORTS:+ + http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2}" + +LICENSE="CPL-0.5" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="tpm? ( app-crypt/trousers ) + dev-libs/openssl" +DEPEND="${RDEPEND}" + +IUSE="+tpm debug" + +pkg_setup() { + enewgroup pkcs11 +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_MULTI_MSG="Applying backports patches #${BACKPORTS} ..." \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ + epatch + + eautoreconf +} + +src_configure() { + econf \ + --enable-fast-install \ + --disable-dependency-tracking \ + $(use_enable debug) \ + --enable-daemon \ + --enable-library \ + --disable-icatok \ + --enable-swtok \ + $(use_enable tpm tpmtok) \ + --disable-icctok \ + --disable-aeptok \ + --disable-bcomtok \ + --disable-crtok \ + --disable-pkcscca_migrate +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + # We replace their ld.so and init files (mostly designed for RedHat + # as far as I can tell) with our own replacements. + rm -rf "${D}"/etc/ld.so.conf.d "${D}"/etc/rc.d + + # make sure that we don't modify the init script if the USE flags + # are enabled for the needed services. + sed -n \ + $(use tpm || echo '-e /use tcsd/d') \ + -e 'p' \ + "${FILESDIR}/pkcsslotd.init.2" \ + > "${T}"/pkcsslotd.init || die + + newinitd "${T}/pkcsslotd.init" pkcsslotd + + dodir /etc/env.d + cat - > "${D}"/etc/env.d/50${PN} <<EOF +LDPATH=/usr/$(get_libdir)/opencryptoki:/usr/$(get_libdir)/opencryptoki/stdll +EOF + + dodoc README AUTHORS FAQ TODO doc/openCryptoki-HOWTO.pdf || die +} |