Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Add missing config directories
@ 2021-01-13 17:45 rtc0
  0 siblings, 0 replies; only message in thread
From: rtc0 @ 2021-01-13 17:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/rtc0/void-packages missing-confdirs
https://github.com/void-linux/void-packages/pull/27898

Add missing config directories


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

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

From 6122ea47676f813524d9a6c3e62f2d088544dabe Mon Sep 17 00:00:00 2001
From: rtc0 <77239040+rtc0@users.noreply.github.com>
Date: Wed, 13 Jan 2021 20:03:43 +0300
Subject: [PATCH 1/2] lm_sensors: create /etc/sensors.d directory

Create /etc/sensors.d for storing user configuration files.
---
 srcpkgs/lm_sensors/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/lm_sensors/template b/srcpkgs/lm_sensors/template
index 10d2a8fd961..83d6c40c0d3 100644
--- a/srcpkgs/lm_sensors/template
+++ b/srcpkgs/lm_sensors/template
@@ -1,7 +1,7 @@
 # Template file for 'lm_sensors'
 pkgname=lm_sensors
 version=3.6.0
-revision=1
+revision=2
 wrksrc="${pkgname/_/-}-${version//./-}"
 build_style=gnu-makefile
 make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}"
@@ -17,6 +17,7 @@ distfiles="https://github.com/lm-sensors/lm-sensors/archive/V${version//./-}.tar
 checksum=0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197
 
 conf_files="/etc/sensors3.conf"
+make_dirs="/etc/sensors.d 0755 root root"
 
 pre_build() {
 	vsed -e 's,CC :=,CC ?=,' -i Makefile

From 133f750b5caf41835c5b39357e7fc3a7ec8ac223 Mon Sep 17 00:00:00 2001
From: rtc0 <77239040+rtc0@users.noreply.github.com>
Date: Wed, 13 Jan 2021 20:14:03 +0300
Subject: [PATCH 2/2] eudev: create /etc/udev/rules.d directory

Create /etc/udev/rules.d for storing user rules.
---
 srcpkgs/eudev/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/eudev/template b/srcpkgs/eudev/template
index 77e291d78eb..57b5c26109b 100644
--- a/srcpkgs/eudev/template
+++ b/srcpkgs/eudev/template
@@ -4,7 +4,7 @@ _UDEV_VERSION="243" # compatible udev version provided
 
 pkgname=eudev
 version=3.2.9
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--enable-hwdb --enable-manpages --disable-introspection"
 hostmakedepends="automake libtool pkg-config gperf libxslt docbook-xsl"
@@ -17,6 +17,7 @@ homepage="https://github.com/gentoo/eudev"
 distfiles="https://github.com/gentoo/eudev/archive/v${version}.tar.gz"
 checksum=7d281276b480da3935d1acb239748c2c9db01a8043aad7e918ce57a223d8cd24
 conf_files="/etc/udev/udev.conf"
+make_dirs="/etc/udev/rules.d 0755 root root"
 
 pre_configure() {
 	autoreconf -fi

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

only message in thread, other threads:[~2021-01-13 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 17:45 [PR PATCH] Add missing config directories rtc0

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git