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

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

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

https://github.com/renatoaguiar/void-packages vmm_clock
https://github.com/void-linux/void-packages/pull/28319

New package: vmm_clock-0.0.20201213
<!-- 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/28319.patch is attached

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

From 8c58610deefb6b59280196f1a923f4b1be7b2506 Mon Sep 17 00:00:00 2001
From: Renato Aguiar <renato@renatoaguiar.net>
Date: Sat, 30 Jan 2021 07:38:39 +0000
Subject: [PATCH] New package: vmm_clock-0.0.20201213

---
 srcpkgs/vmm_clock/files/dkms.conf |  6 ++++++
 srcpkgs/vmm_clock/template        | 25 +++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/vmm_clock/files/dkms.conf
 create mode 100644 srcpkgs/vmm_clock/template

diff --git a/srcpkgs/vmm_clock/files/dkms.conf b/srcpkgs/vmm_clock/files/dkms.conf
new file mode 100644
index 00000000000..4b2dd7def98
--- /dev/null
+++ b/srcpkgs/vmm_clock/files/dkms.conf
@@ -0,0 +1,6 @@
+PACKAGE_NAME="vmm_clock"
+PACKAGE_VERSION="@VERSION@"
+BUILT_MODULE_NAME[0]="vmm_clock"
+DEST_MODULE_LOCATION[0]="/extra"
+AUTOINSTALL="yes"
+REMAKE_INITRD="yes"
diff --git a/srcpkgs/vmm_clock/template b/srcpkgs/vmm_clock/template
new file mode 100644
index 00000000000..2445d980705
--- /dev/null
+++ b/srcpkgs/vmm_clock/template
@@ -0,0 +1,25 @@
+# Template file for 'vmm_clock'
+pkgname=vmm_clock
+version=0.0.20201213
+revision=1
+_commit=f9c81a6eb058af6f18adf85a9d1dcd2f11201975
+wrksrc=vmm_clock-${_commit}
+depends="dkms"
+short_desc="Clocksource implementation for OpenBSD VMM guests"
+maintainer="Renato Aguiar <renato@renatoaguiar.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/voutilad/vmm_clock"
+distfiles="https://github.com/voutilad/vmm_clock/archive/${_commit}.tar.gz"
+checksum=8dd7415ef0c79a7591c0ec8eda80004ab7d8baab4249d789477774ed767baa07
+dkms_modules="vmm_clock ${version}"
+
+do_install() {
+	vmkdir usr/src/vmm_clock-${version}
+	vcopy "*.c" usr/src/vmm_clock-${version}
+	vcopy "*.h" usr/src/vmm_clock-${version}
+	vcopy Makefile usr/src/vmm_clock-${version}
+	vcopy Kconfig usr/src/vmm_clock-${version}
+	vcopy Kbuild usr/src/vmm_clock-${version}
+	vinstall ${FILESDIR}/dkms.conf 644 usr/src/vmm_clock-${version}
+	sed -i -e "s/@VERSION@/${version}/" ${PKGDESTDIR}/usr/src/vmm_clock-${version}/dkms.conf
+}

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

only message in thread, other threads:[~2021-01-30  7:41 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:41 [PR PATCH] New package: vmm_clock-0.0.20201213 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).