summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-01-07 22:53:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-01-07 22:53:34 +0000
commit71a4c99f9d6cf652ba65dea42f758febf3e4f3d3 (patch)
treed5af6734cccef1905bdad95e52f61b7dc5012ba2 /dev-libs/opencryptoki/files
parentstable x86, bug 349799 (diff)
downloadgentoo-2-71a4c99f9d6cf652ba65dea42f758febf3e4f3d3.tar.gz
gentoo-2-71a4c99f9d6cf652ba65dea42f758febf3e4f3d3.tar.bz2
gentoo-2-71a4c99f9d6cf652ba65dea42f758febf3e4f3d3.zip
Move the patches out of the tree in a backports tarball. The backports are maintained in a git repository that more easily syncs up with upstream.
(Portage version: 2.2.0_alpha14/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/opencryptoki/files')
-rw-r--r--dev-libs/opencryptoki/files/opencryptoki-2.2.4.1-tpm_util.c.patch14
-rw-r--r--dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_openlog.patch10
-rw-r--r--dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch28
-rw-r--r--dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch28
-rw-r--r--dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch24
5 files changed, 0 insertions, 104 deletions
diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.2.4.1-tpm_util.c.patch b/dev-libs/opencryptoki/files/opencryptoki-2.2.4.1-tpm_util.c.patch
deleted file mode 100644
index d1b7eef7fe38..000000000000
--- a/dev-libs/opencryptoki/files/opencryptoki-2.2.4.1-tpm_util.c.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -upr opencryptoki-2.2.4.1.orig/usr/lib/pkcs11/tpm_stdll/tpm_util.c opencryptoki-2.2.4.1/usr/lib/pkcs11/tpm_stdll/tpm_util.c
---- opencryptoki-2.2.4.1.orig/usr/lib/pkcs11/tpm_stdll/tpm_util.c 2007-02-03 00:19:41.000000000 +0200
-+++ opencryptoki-2.2.4.1/usr/lib/pkcs11/tpm_stdll/tpm_util.c 2007-03-25 20:42:38.926868516 +0300
-@@ -51,6 +51,10 @@
-
- #include "tpm_specific.h"
-
-+#ifndef UINT64
-+#define UINT64 unsigned long long
-+#endif
-+
- extern TSS_HCONTEXT tspContext;
-
- UINT32
diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_openlog.patch b/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_openlog.patch
deleted file mode 100644
index 199db5a649d9..000000000000
--- a/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_openlog.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- opencryptoki-2.2.8.orig/usr/lib/pkcs11/api/apiutil.c 2010-06-04 17:04:48.000000000 -0400
-+++ opencryptoki-2.2.8/usr/lib/pkcs11/api/apiutil.c 2010-06-04 17:06:23.000000000 -0400
-@@ -380,7 +380,6 @@
-
- if (!enabled){
- enabled=1;
-- openlog("openCryptokiModule",LOG_PID|LOG_NDELAY,LOG_DAEMON);
- setlogmask(LOG_UPTO(LOG_DEBUG));
- logit(LOG_DEBUG,"Logging enabled %d enabled",enabled);
- }
diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch b/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch
deleted file mode 100644
index c8a22e6bb4bf..000000000000
--- a/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: opencryptoki-2.3.2/usr/sbin/pkcs_slot/pkcs_slot.in
-===================================================================
---- opencryptoki-2.3.2.orig/usr/sbin/pkcs_slot/pkcs_slot.in
-+++ opencryptoki-2.3.2/usr/sbin/pkcs_slot/pkcs_slot.in
-@@ -356,12 +356,14 @@ fi
- DEVICE=$1
- DEPTH=$2
-
-+# Ensure that any directories created are group-accessible
-+umask 002
-+
- # Check for the existance of the directories
- if [ ! -d @localstatedir@/lib/opencryptoki ]
- then
- @MKDIR_P@ @localstatedir@/lib/opencryptoki
- @CHGRP@ pkcs11 @localstatedir@/lib/opencryptoki
-- @CHMOD@ -R g+rwX @localstatedir@/lib/opencryptoki
- fi
-
-
-@@ -502,7 +504,6 @@ then
- echo "TRUE|0|$SLOT_DESCRIPTION|$MANUFACTURER|TRUE|FALSE|TRUE|0|0|1|1|NONE|$CCA_DLL_FN|$CCA_INIT" >>$CFGFILE
- fi
-
--@CHMOD@ -R g+wrX @localstatedir@/lib/opencryptoki
-
-
-
diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch b/dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch
deleted file mode 100644
index 45e1e7104411..000000000000
--- a/dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Naur opencryptoki-2.2.8.orig/usr/sbin/pkcsslotd/shmem.c opencryptoki-2.2.8/usr/sbin/pkcsslotd/shmem.c
---- opencryptoki-2.2.8.orig/usr/sbin/pkcsslotd/shmem.c 2010-06-02 09:18:27.000000000 -0700
-+++ opencryptoki-2.2.8/usr/sbin/pkcsslotd/shmem.c 2010-06-02 11:41:31.000000000 -0700
-@@ -374,10 +374,20 @@
-
-
- if ( shmid < 0 ) {
-- ErrLog(SLOTD_MSG(SHMEMCR,
-- "Shared memory creation failed (0x%X)\n"), errno);
-- ErrLog(SLOTD_MSG(IPCRM, "perform ipcrm -M 0x%X\n"), tok);
-- return FALSE;
-+ ErrLog(SLOTD_MSG(SHMEMCR,
-+ "Shared memory creation failed (0x%X)\n"), errno);
-+ ErrLog(SLOTD_MSG(SHMEMCR, "Reclaiming 0x%X\n"), tok);
-+ shmid = shmget( tok, sizeof( Slot_Mgr_Shr_t ), 0 );
-+ DestroySharedMemory();
-+ shmid = shmget( tok, sizeof( Slot_Mgr_Shr_t ),
-+ IPC_CREAT | IPC_EXCL | S_IRUSR |
-+ S_IRGRP | S_IWUSR | S_IWGRP );
-+ if ( shmid < 0 ) {
-+ ErrLog(SLOTD_MSG(SHMEMCR,
-+ "Shared memory reclamation failed (0x%X)\n"), errno);
-+ ErrLog(SLOTD_MSG(IPCRM, "perform ipcrm -M 0x%X\n"), tok);
-+ return FALSE;
-+ }
- }
-
- // SAB Set the group ownership of the shared mem segment..
diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch b/dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch
deleted file mode 100644
index c54a02157bf3..000000000000
--- a/dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: opencryptoki-2.3.2/usr/lib/pkcs11/api/Makefile.am
-===================================================================
---- opencryptoki-2.3.2.orig/usr/lib/pkcs11/api/Makefile.am
-+++ opencryptoki-2.3.2/usr/lib/pkcs11/api/Makefile.am
-@@ -15,17 +15,17 @@ opencryptoki_libopencryptoki_la_CFLAGS =
- opencryptoki_libopencryptoki_la_SOURCES = api_interface.c shrd_mem.c apiutil.c
-
- install-data-hook:
-+ $(MKDIR_P) $(DESTDIR)$(libdir)/opencryptoki/stdll
-+ $(MKDIR_P) $(DESTDIR)$(libdir)/pkcs11
- cd $(DESTDIR)$(libdir)/opencryptoki && \
- ln -sf libopencryptoki.so PKCS11_API.so
- cd $(DESTDIR)$(libdir)/opencryptoki && \
- ln -sf $(sbindir) methods
-- $(MKDIR_P) $(DESTDIR)$(libdir)/pkcs11
- cd $(DESTDIR)$(libdir)/pkcs11 && \
- ln -sf $(sbindir) methods
- cd $(DESTDIR)$(libdir)/pkcs11 && \
- ln -sf ../opencryptoki/libopencryptoki.so PKCS11_API.so
- cd $(DESTDIR)$(libdir)/pkcs11 && \
- ln -sf ../opencryptoki/libopencryptoki.so libopencryptoki.so
-- $(MKDIR_P) $(DESTDIR)$(libdir)/opencryptoki/stdll
- cd $(DESTDIR)$(libdir)/pkcs11 && \
- ln -sf ../opencryptoki/stdll/ stdll