Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: virtio_vmmci-0.3.0
@ 2021-01-30  7:37 renatoaguiar
  0 siblings, 0 replies; only message in thread
From: renatoaguiar @ 2021-01-30  7:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/renatoaguiar/void-packages virtio_vmmci
https://github.com/void-linux/void-packages/pull/28318

New package: virtio_vmmci-0.3.0
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] 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/28318.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-virtio_vmmci-28318.patch --]
[-- Type: text/x-diff, Size: 2072 bytes --]

From 9e15c5e4dfa7ded44689ae83a27ffa951f2746fb Mon Sep 17 00:00:00 2001
From: Renato Aguiar <renato@renatoaguiar.net>
Date: Sat, 30 Jan 2021 07:35:09 +0000
Subject: [PATCH] New package: virtio_vmmci-0.3.0

---
 srcpkgs/virtio_vmmci/files/dkms.conf |  8 ++++++++
 srcpkgs/virtio_vmmci/template        | 23 +++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/virtio_vmmci/files/dkms.conf
 create mode 100644 srcpkgs/virtio_vmmci/template

diff --git a/srcpkgs/virtio_vmmci/files/dkms.conf b/srcpkgs/virtio_vmmci/files/dkms.conf
new file mode 100644
index 00000000000..e80a646f761
--- /dev/null
+++ b/srcpkgs/virtio_vmmci/files/dkms.conf
@@ -0,0 +1,8 @@
+PACKAGE_NAME="virtio_vmmci"
+PACKAGE_VERSION="@VERSION@"
+BUILT_MODULE_NAME[0]="virtio_pci_obsd"
+DEST_MODULE_LOCATION[0]="/extra"
+BUILT_MODULE_NAME[1]="virtio_vmmci"
+DEST_MODULE_LOCATION[1]="/extra"
+AUTOINSTALL="yes"
+REMAKE_INITRD="yes"
diff --git a/srcpkgs/virtio_vmmci/template b/srcpkgs/virtio_vmmci/template
new file mode 100644
index 00000000000..62ae2eece0e
--- /dev/null
+++ b/srcpkgs/virtio_vmmci/template
@@ -0,0 +1,23 @@
+# Template file for 'virtio_vmmci'
+pkgname=virtio_vmmci
+version=0.3.0
+revision=1
+depends="dkms"
+short_desc="Virtio driver for OpenBSD VMM Control Interface"
+maintainer="Renato Aguiar <renato@renatoaguiar.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/voutilad/virtio_vmmci"
+distfiles="https://github.com/voutilad/virtio_vmmci/archive/${version}.tar.gz"
+checksum=ea8d952a8989d3a107717cb63385450bc4cb07f805ba8a61432ea352d2eb0229
+dkms_modules="virtio_vmmci ${version}"
+
+do_install() {
+	vmkdir usr/src/virtio_vmmci-${version}
+	vcopy "*.c" usr/src/virtio_vmmci-${version}
+	vcopy "*.h" usr/src/virtio_vmmci-${version}
+	vcopy Makefile usr/src/virtio_vmmci-${version}
+	vcopy Kconfig usr/src/virtio_vmmci-${version}
+	vcopy Kbuild usr/src/virtio_vmmci-${version}
+	vinstall ${FILESDIR}/dkms.conf 644 usr/src/virtio_vmmci-${version}
+	sed -i -e "s/@VERSION@/${version}/" ${PKGDESTDIR}/usr/src/virtio_vmmci-${version}/dkms.conf
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-30  7:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-30  7:37 [PR PATCH] New package: virtio_vmmci-0.3.0 renatoaguiar

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).