* [PR PATCH] sway: added 'elogind' build option (default disabled).
@ 2019-06-12 9:53 voidlinux-github
2019-06-12 10:01 ` [PR PATCH] [Updated] " voidlinux-github
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2019-06-12 9:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
There is a new pull request by xtraeme against master on the void-packages repository
https://github.com/xtraeme/void-packages sway-elogind
https://github.com/void-linux/void-packages/pull/12419
sway: added 'elogind' build option (default disabled).
If enabled the sway binary does not need to be setuid.
Signed-off-by: Juan RP <xtraeme@gmail.com>
A patch file from https://github.com/void-linux/void-packages/pull/12419.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sway-elogind-12419.patch --]
[-- Type: application/text/x-diff, Size: 1179 bytes --]
From 0a5b4c0976c480cc57c75a842a1151caf885760f Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 12 Jun 2019 11:43:10 +0200
Subject: [PATCH] sway: added 'elogind' build option (default disabled).
If enabled the sway binary does not need to be setuid.
Signed-off-by: Juan RP <xtraeme@gmail.com>
---
srcpkgs/sway/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template
index e998f70b04f..4247d943bbe 100644
--- a/srcpkgs/sway/template
+++ b/srcpkgs/sway/template
@@ -1,8 +1,9 @@
# Template file for 'sway'
pkgname=sway
version=1.0
-revision=1
+revision=2
build_style=meson
+build_options="elogind"
conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc git"
makedepends="wlroots-devel wayland-devel wayland-protocols pcre-devel
@@ -17,6 +18,8 @@ checksum=24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56
post_install() {
vlicense LICENSE
- # must be setuid without logind!
- chmod u+s ${DESTDIR}/usr/bin/sway
+ if [ -z "$build_option_elogind" ]; then
+ # must be setuid without logind!
+ chmod u+s ${DESTDIR}/usr/bin/sway
+ fi
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] sway: added 'elogind' build option (default disabled).
2019-06-12 9:53 [PR PATCH] sway: added 'elogind' build option (default disabled) voidlinux-github
@ 2019-06-12 10:01 ` voidlinux-github
2019-06-12 10:01 ` voidlinux-github
2019-06-15 12:17 ` [PR PATCH] [Merged]: " voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-06-12 10:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
There is an updated pull request by xtraeme against master on the void-packages repository
https://github.com/xtraeme/void-packages sway-elogind
https://github.com/void-linux/void-packages/pull/12419
sway: added 'elogind' build option (default disabled).
If enabled the sway binary does not need to be setuid.
Signed-off-by: Juan RP <xtraeme@gmail.com>
A patch file from https://github.com/void-linux/void-packages/pull/12419.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sway-elogind-12419.patch --]
[-- Type: application/text/x-diff, Size: 1231 bytes --]
From 29fedcee096b45af6b63ec30c0fd8af6bb79ead5 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 12 Jun 2019 12:00:50 +0200
Subject: [PATCH] sway: added 'elogind' build option (default disabled).
If enabled the sway binary does not need to be setuid.
Signed-off-by: Juan RP <xtraeme@gmail.com>
---
srcpkgs/sway/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template
index e998f70b04f..099252eea33 100644
--- a/srcpkgs/sway/template
+++ b/srcpkgs/sway/template
@@ -1,7 +1,7 @@
# Template file for 'sway'
pkgname=sway
version=1.0
-revision=1
+revision=2
build_style=meson
conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc git"
@@ -14,9 +14,12 @@ license="MIT"
homepage="https://swaywm.org"
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
checksum=24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56
+build_options="elogind"
post_install() {
vlicense LICENSE
- # must be setuid without logind!
- chmod u+s ${DESTDIR}/usr/bin/sway
+ if [ -z "$build_option_elogind" ]; then
+ # must be setuid without logind!
+ chmod u+s ${DESTDIR}/usr/bin/sway
+ fi
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] sway: added 'elogind' build option (default disabled).
2019-06-12 9:53 [PR PATCH] sway: added 'elogind' build option (default disabled) voidlinux-github
2019-06-12 10:01 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-12 10:01 ` voidlinux-github
2019-06-15 12:17 ` [PR PATCH] [Merged]: " voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-06-12 10:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
There is an updated pull request by xtraeme against master on the void-packages repository
https://github.com/xtraeme/void-packages sway-elogind
https://github.com/void-linux/void-packages/pull/12419
sway: added 'elogind' build option (default disabled).
If enabled the sway binary does not need to be setuid.
Signed-off-by: Juan RP <xtraeme@gmail.com>
A patch file from https://github.com/void-linux/void-packages/pull/12419.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sway-elogind-12419.patch --]
[-- Type: application/text/x-diff, Size: 1231 bytes --]
From 29fedcee096b45af6b63ec30c0fd8af6bb79ead5 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 12 Jun 2019 12:00:50 +0200
Subject: [PATCH] sway: added 'elogind' build option (default disabled).
If enabled the sway binary does not need to be setuid.
Signed-off-by: Juan RP <xtraeme@gmail.com>
---
srcpkgs/sway/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template
index e998f70b04f..099252eea33 100644
--- a/srcpkgs/sway/template
+++ b/srcpkgs/sway/template
@@ -1,7 +1,7 @@
# Template file for 'sway'
pkgname=sway
version=1.0
-revision=1
+revision=2
build_style=meson
conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc git"
@@ -14,9 +14,12 @@ license="MIT"
homepage="https://swaywm.org"
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
checksum=24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56
+build_options="elogind"
post_install() {
vlicense LICENSE
- # must be setuid without logind!
- chmod u+s ${DESTDIR}/usr/bin/sway
+ if [ -z "$build_option_elogind" ]; then
+ # must be setuid without logind!
+ chmod u+s ${DESTDIR}/usr/bin/sway
+ fi
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: sway: added 'elogind' build option (default disabled).
2019-06-12 9:53 [PR PATCH] sway: added 'elogind' build option (default disabled) voidlinux-github
2019-06-12 10:01 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-12 10:01 ` voidlinux-github
@ 2019-06-15 12:17 ` voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-06-15 12:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
There's a merged pull request on the void-packages repository
sway: added 'elogind' build option (default disabled).
https://github.com/void-linux/void-packages/pull/12419
Description: If enabled the sway binary does not need to be setuid.
Signed-off-by: Juan RP <xtraeme@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-15 12:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 9:53 [PR PATCH] sway: added 'elogind' build option (default disabled) voidlinux-github
2019-06-12 10:01 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-12 10:01 ` voidlinux-github
2019-06-15 12:17 ` [PR PATCH] [Merged]: " voidlinux-github
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).