From 6e1edff4d8fdf4fa6e200da4c3ddc17fbf93dd05 Mon Sep 17 00:00:00 2001 From: 0x5c 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 " license="MIT" -homepage="https://github.com/sinetoami/vpsm" +homepage="https://github.com/sineto/vpsm" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=7317439096f56371397eb1250a81ff83e53740c14163993cf6668e9f0c4bdc2f