* [PR PATCH] vpsm: update upstream, clean suid bit
@ 2022-04-03 3:22 0x5c
2022-04-03 8:29 ` [PR PATCH] [Merged]: " paper42
0 siblings, 1 reply; 2+ messages in thread
From: 0x5c @ 2022-04-03 3:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
There is a new pull request by 0x5c against master on the void-packages repository
https://github.com/0x5c/void-packages vpsm-suid
https://github.com/void-linux/void-packages/pull/36489
vpsm: update upstream, clean suid bit
- The suid permission bit was incorrectly being set. It is now gone.
See #32156
- The upstream README indicates a move to a new GH account.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
@sinetoami @sineto
A patch file from https://github.com/void-linux/void-packages/pull/36489.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vpsm-suid-36489.patch --]
[-- Type: text/x-diff, Size: 1901 bytes --]
From 6e1edff4d8fdf4fa6e200da4c3ddc17fbf93dd05 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Sat, 2 Apr 2022 23:06:14 -0400
Subject: [PATCH] vpsm: update upstream, clean suid bit
- The suid permission bit was incorrectly being set. It is now gone. See #32156
- The upstream README indicates a move to a new GH account.
---
srcpkgs/vpsm/patches/setuid-fix.patch | 19 +++++++++++++++++++
srcpkgs/vpsm/template | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/vpsm/patches/setuid-fix.patch
diff --git a/srcpkgs/vpsm/patches/setuid-fix.patch b/srcpkgs/vpsm/patches/setuid-fix.patch
new file mode 100644
index 000000000000..3a2ec1a1c405
--- /dev/null
+++ b/srcpkgs/vpsm/patches/setuid-fix.patch
@@ -0,0 +1,19 @@
+Do not apply the setuid permission bit on the vpsm script
+
+See https://github.com/void-linux/void-packages/issues/32156
+see https://github.com/sineto/vpsm/pull/2
+
+
+--
+
+--- a/Makefile
++++ b/Makefile
+@@ -16,7 +16,7 @@
+
+ .PHONY: install
+ install:
+- install -Dm4755 vpsm $(DESTDIR)$(PREFIX)/bin/vpsm
++ install -Dm755 vpsm $(DESTDIR)$(PREFIX)/bin/vpsm
+ install -Dm644 man/vpsm.1 $(DESTDIR)/$(PREFIX)/share/man/man1/vpsm.1
+
+ .PHONY: uninstall
diff --git a/srcpkgs/vpsm/template b/srcpkgs/vpsm/template
index 62805298d065..ead8e89e6ba8 100644
--- a/srcpkgs/vpsm/template
+++ b/srcpkgs/vpsm/template
@@ -1,13 +1,13 @@
# Template file for 'vpsm'
pkgname=vpsm
version=0.1.2
-revision=1
+revision=2
build_style=gnu-makefile
depends="bash xtools ripgrep hub"
short_desc="Void-Packages Sources Management wrapper for XBPS-SRC"
maintainer="Sinésio Neto <sinetoami@gmail.com>"
license="MIT"
-homepage="https://github.com/sinetoami/vpsm"
+homepage="https://github.com/sineto/vpsm"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=7317439096f56371397eb1250a81ff83e53740c14163993cf6668e9f0c4bdc2f
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: vpsm: update upstream, clean suid bit
2022-04-03 3:22 [PR PATCH] vpsm: update upstream, clean suid bit 0x5c
@ 2022-04-03 8:29 ` paper42
0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-04-03 8:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
There's a merged pull request on the void-packages repository
vpsm: update upstream, clean suid bit
https://github.com/void-linux/void-packages/pull/36489
Description:
- The suid permission bit was incorrectly being set. It is now gone.
See #32156
- The upstream README indicates a move to a new GH account.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
@sinetoami @sineto
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-03 8:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 3:22 [PR PATCH] vpsm: update upstream, clean suid bit 0x5c
2022-04-03 8:29 ` [PR PATCH] [Merged]: " paper42
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).