Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cryptodev-dkms: add version 1.12
@ 2022-10-16 18:35 wiktorciurej
  2022-10-17  9:05 ` [PR PATCH] [Updated] " wiktorciurej
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: wiktorciurej @ 2022-10-16 18:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]

There is a new pull request by wiktorciurej against master on the void-packages repository

https://github.com/wiktorciurej/void-packages feature/cryptodev-support
https://github.com/void-linux/void-packages/pull/39993

cryptodev-dkms: add version 1.12
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
- It is required for the openssl cryptodev engine support.


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
<!-- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->



A patch file from https://github.com/void-linux/void-packages/pull/39993.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-feature/cryptodev-support-39993.patch --]
[-- Type: text/x-diff, Size: 2145 bytes --]

From 2b4bda9e3f96971b433faa7f7d4ac3dd1ad9c028 Mon Sep 17 00:00:00 2001
From: Wiktor Ciurej <wiktor.ciurej@gmail.com>
Date: Sun, 16 Oct 2022 20:28:14 +0200
Subject: [PATCH] cryptodev-dkms: add version 1.12

---
 srcpkgs/cryptodev-dkms/files/dkms.conf |  7 ++++++
 srcpkgs/cryptodev-dkms/template        | 34 ++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 srcpkgs/cryptodev-dkms/files/dkms.conf
 create mode 100644 srcpkgs/cryptodev-dkms/template

diff --git a/srcpkgs/cryptodev-dkms/files/dkms.conf b/srcpkgs/cryptodev-dkms/files/dkms.conf
new file mode 100644
index 000000000000..e4c7ead12786
--- /dev/null
+++ b/srcpkgs/cryptodev-dkms/files/dkms.conf
@@ -0,0 +1,7 @@
+PACKAGE_NAME="cryptodev-linux"
+PACKAGE_VERSION="@@VERSION@@"
+BUILT_MODULE_NAME[0]="cryptodev"
+DEST_MODULE_LOCATION[0]="/kernel/misc"
+MAKE[0]="make KERNEL_DIR=/lib/modules/${kernelver}/build"
+CLEAN="make clean"
+AUTOINSTALL="yes"
diff --git a/srcpkgs/cryptodev-dkms/template b/srcpkgs/cryptodev-dkms/template
new file mode 100644
index 000000000000..b6261ab4a1ad
--- /dev/null
+++ b/srcpkgs/cryptodev-dkms/template
@@ -0,0 +1,34 @@
+# Template file for 'cryptodev-dkms'
+pkgname=cryptodev-dkms
+version=1.12
+revision=1
+archs="i686 x86_64*"
+short_desc="Kernel module providing access to Linux kernel cryptographic drivers from userspace"
+maintainer="Wiktor Ciurej <wiktor.ciurej@gmail.com>"
+license="GPL-2.0"
+homepage="https://github.com/cryptodev-linux/cryptodev-linux"
+distfiles="https://github.com/cryptodev-linux/cryptodev-linux/archive/refs/tags/cryptodev-linux-${version}.tar.gz"
+checksum=f51c2254749233b1b1d7ec9445158bd709f124f88e1c650fe2faac83c3a81938
+wrksrc="cryptodev-linux-cryptodev-linux-${version}"
+
+dkms_modules="cryptodev ${version}"
+depends="dkms"
+
+do_build() {
+	cp -f ${FILESDIR}/dkms.conf dkms.conf
+	make dkms.conf
+}
+
+do_install() {
+	vmkdir usr/src/cryptodev-${version}
+	vcopy "*" usr/src/cryptodev-${version}
+	vmkdir usr/include/crypto
+	install -m644 crypto/cryptodev.h ${DESTDIR}/usr/include/crypto/cryptodev.h
+
+	vdoc AUTHORS 
+	vdoc INSTALL 
+	vdoc NEWS
+	vdoc README
+	vlicense COPYING
+}
+

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-12  2:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16 18:35 [PR PATCH] cryptodev-dkms: add version 1.12 wiktorciurej
2022-10-17  9:05 ` [PR PATCH] [Updated] " wiktorciurej
2022-10-17  9:18 ` [PR PATCH] [Updated] New package: cryptodev-dkms-1.12 wiktorciurej
2022-10-17  9:40 ` wiktorciurej
2022-10-17 17:06 ` wiktorciurej
2022-10-29 17:05 ` [PR PATCH] [Updated] " wiktorciurej
2022-10-30 12:16 ` wiktorciurej
2022-10-30 12:23 ` wiktorciurej
2023-01-29  2:01 ` github-actions
2023-02-12  2:01 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).