Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] openocd: ship udev rules, claim maintainership.
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23344@inbox.vuxu.org>
@ 2020-07-20  4:47 ` ericonr
  0 siblings, 0 replies; only message in thread
From: ericonr @ 2020-07-20  4:47 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages openocd
https://github.com/void-linux/void-packages/pull/23344

openocd: ship udev rules, claim maintainership.


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

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

From ac7dec4165e66ac439f11ff886aa23ad3666eedd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Wed, 1 Jul 2020 00:56:42 -0300
Subject: [PATCH] openocd: ship udev rules, claim maintainership.

Required adding the plugdev group.

Fix xlint from license.
---
 srcpkgs/openocd/template | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/openocd/template b/srcpkgs/openocd/template
index 4e791968c15..f08697af5b2 100644
--- a/srcpkgs/openocd/template
+++ b/srcpkgs/openocd/template
@@ -1,7 +1,7 @@
 # Template file for 'openocd'
 pkgname=openocd
 version=0.10.0
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="
  --disable-werror
@@ -27,12 +27,18 @@ hostmakedepends="pkg-config"
 makedepends="hidapi-devel jimtcl-devel libftdi1-devel
  libusb-compat-devel libusb-devel"
 short_desc="Open On-Chip Debugger"
-maintainer="Leah Neukirchen <leah@vuxu.org>"
-license="GPL-2"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="GPL-2.0-or-later"
 homepage="http://openocd.org/"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
 checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
 
+system_groups="plugdev"
+
 post_extract() {
 	sed -i '/raggedright/d' doc/openocd.texi   # makeinfo 4.xx
 }
+
+post_install() {
+	vinstall contrib/60-openocd.rules 644 usr/lib/udev/rules.d/
+}

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

only message in thread, other threads:[~2020-07-20  4:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23344@inbox.vuxu.org>
2020-07-20  4:47 ` [PR PATCH] [Updated] openocd: ship udev rules, claim maintainership ericonr

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