Github messages for voidlinux
 help / color / mirror / Atom feed
From: 0x5c <0x5c@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] vpsm: update upstream, clean suid bit
Date: Sun, 03 Apr 2022 05:22:22 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36489@inbox.vuxu.org> (raw)

[-- 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
 

             reply	other threads:[~2022-04-03  3:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-03  3:22 0x5c [this message]
2022-04-03  8:29 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36489@inbox.vuxu.org \
    --to=0x5c@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).