Github messages for voidlinux
 help / color / mirror / Atom feed
From: wiktorciurej <wiktorciurej@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: cryptodev-dkms-1.12
Date: Mon, 17 Oct 2022 11:40:08 +0200	[thread overview]
Message-ID: <20221017094008.jni3RvWUzko0tWKP_D053SEsa1CvZVRy_mxWHpvMP1s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39993@inbox.vuxu.org>

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

There is an updated 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

New package: cryptodev-dkms-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: 2114 bytes --]

From c30f74734136a1a75d6b213c61ff7a828f53f647 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] New package: cryptodev-dkms-1.12

---
 srcpkgs/cryptodev-dkms/files/dkms.conf |  7 ++++++
 srcpkgs/cryptodev-dkms/template        | 32 ++++++++++++++++++++++++++
 2 files changed, 39 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..17a6503c2ff6
--- /dev/null
+++ b/srcpkgs/cryptodev-dkms/template
@@ -0,0 +1,32 @@
+# Template file for 'cryptodev-dkms'
+pkgname=cryptodev-dkms
+version=1.12
+revision=1
+archs="i686 x86_64*"
+wrksrc="cryptodev-linux-cryptodev-linux-${version}"
+short_desc="Kernel module for accessing Linux kernel crypto drivers from userspace"
+maintainer="Wiktor Ciurej <wiktor.ciurej@gmail.com>"
+license="GPL-2.0-only"
+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
+
+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
+}

  parent reply	other threads:[~2022-10-17  9:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221017094008.jni3RvWUzko0tWKP_D053SEsa1CvZVRy_mxWHpvMP1s@z \
    --to=wiktorciurej@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).