Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: please-0.3.16
@ 2020-12-08 19:14 edneville
  2020-12-08 19:16 ` [PR PATCH] [Updated] " edneville
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: edneville @ 2020-12-08 19:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.16
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 29867e331175ff5ce5d448c7d5a30f416240d74b Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: please-0.3.16

---
 srcpkgs/please/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/please/template

diff --git a/srcpkgs/please/template b/srcpkgs/please/template
new file mode 100644
index 00000000000..eaebe2b0280
--- /dev/null
+++ b/srcpkgs/please/template
@@ -0,0 +1,33 @@
+# Template file for 'please'
+pkgname=please
+version=0.3.16
+revision=1
+_commit="d330c5b24018ad6144eeb12f382ca5c45c885640"
+wrksrc="${pkgname}-${_commit}-${_commit}"
+build_style=cargo
+hostmakedepends="cmake llvm clang pam-devel"
+depends="pam"
+short_desc="Please, a polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/please/repository/archive.tar.gz?ref=$_commit>archive.tar.gz"
+checksum=8ab2db68a20e4dc2b2bfd1e7f46d2dd3cef53e7db1cf0e120e6add3043a00a5b
+
+pre_build() {
+        export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+        export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+        local manpage
+        vdoc README.md
+        manpage=$(find ${wrksrc} -name please.ini.5 )
+        vman ${manpage}
+        manpage=$(find ${wrksrc} -name please.1 )
+        vman ${manpage}
+        please=$(find ${wrksrc} -name please )
+        pleaseedit=$(find ${wrksrc} -name pleaseedit )
+        vinstall ${please} 4755 usr/bin
+        vinstall ${pleaseedit} 4755 usr/bin
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
@ 2020-12-08 19:16 ` edneville
  2020-12-08 19:24 ` edneville
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-08 19:16 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.16
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 424ce18f8f29c3e8dbbd4e51ad153842537cf383 Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: please-0.3.16

---
 srcpkgs/please/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/please/template

diff --git a/srcpkgs/please/template b/srcpkgs/please/template
new file mode 100644
index 00000000000..a8c520cd787
--- /dev/null
+++ b/srcpkgs/please/template
@@ -0,0 +1,33 @@
+# Template file for 'please'
+pkgname=please
+version=0.3.16
+revision=1
+_commit="d330c5b24018ad6144eeb12f382ca5c45c885640"
+wrksrc="${pkgname}-${_commit}-${_commit}"
+build_style=cargo
+hostmakedepends="cmake llvm clang pam-devel"
+depends="pam"
+short_desc="Please, a polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/please/repository/archive.tar.gz?ref=$_commit>archive.tar.gz"
+checksum=8ab2db68a20e4dc2b2bfd1e7f46d2dd3cef53e7db1cf0e120e6add3043a00a5b
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5 )
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1 )
+	vman ${manpage}
+	please=$(find ${wrksrc} -name please )
+	pleaseedit=$(find ${wrksrc} -name pleaseedit )
+	vinstall ${please} 4755 usr/bin
+	vinstall ${pleaseedit} 4755 usr/bin
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
  2020-12-08 19:16 ` [PR PATCH] [Updated] " edneville
@ 2020-12-08 19:24 ` edneville
  2020-12-08 19:34 ` edneville
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-08 19:24 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.16
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 0df94642c3a3bea4dd5f563bff7c0106dc4e6980 Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: please-0.3.16

---
 srcpkgs/please/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/please/template

diff --git a/srcpkgs/please/template b/srcpkgs/please/template
new file mode 100644
index 00000000000..b7b76821c53
--- /dev/null
+++ b/srcpkgs/please/template
@@ -0,0 +1,34 @@
+# Template file for 'please'
+pkgname=please
+version=0.3.16
+revision=1
+_commit="d330c5b24018ad6144eeb12f382ca5c45c885640"
+wrksrc="${pkgname}-${_commit}-${_commit}"
+build_style=cargo
+hostmakedepends="cmake llvm clang pam-devel"
+makedepends="cmake llvm clang pam-devel"
+depends="pam"
+short_desc="Please, a polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/please/repository/archive.tar.gz?ref=$_commit>archive.tar.gz"
+checksum=8ab2db68a20e4dc2b2bfd1e7f46d2dd3cef53e7db1cf0e120e6add3043a00a5b
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5 )
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1 )
+	vman ${manpage}
+	please=$(find ${wrksrc} -name please )
+	pleaseedit=$(find ${wrksrc} -name pleaseedit )
+	vinstall ${please} 4755 usr/bin
+	vinstall ${pleaseedit} 4755 usr/bin
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
  2020-12-08 19:16 ` [PR PATCH] [Updated] " edneville
  2020-12-08 19:24 ` edneville
@ 2020-12-08 19:34 ` edneville
  2020-12-08 20:15 ` [PR REVIEW] " ericonr
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-08 19:34 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.16
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 30f3c6dd25c51b90d0eb5210bf8f5d8a1a734032 Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: please-0.3.16

---
 srcpkgs/please/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/please/template

diff --git a/srcpkgs/please/template b/srcpkgs/please/template
new file mode 100644
index 00000000000..978153a2ef0
--- /dev/null
+++ b/srcpkgs/please/template
@@ -0,0 +1,33 @@
+# Template file for 'please'
+pkgname=please
+version=0.3.16
+revision=1
+_commit="d330c5b24018ad6144eeb12f382ca5c45c885640"
+wrksrc="${pkgname}-${_commit}-${_commit}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+depends="pam"
+short_desc="Please, a polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/please/repository/archive.tar.gz?ref=$_commit>archive.tar.gz"
+checksum=8ab2db68a20e4dc2b2bfd1e7f46d2dd3cef53e7db1cf0e120e6add3043a00a5b
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5 )
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1 )
+	vman ${manpage}
+	please=$(find ${wrksrc} -name please )
+	pleaseedit=$(find ${wrksrc} -name pleaseedit )
+	vinstall ${please} 4755 usr/bin
+	vinstall ${pleaseedit} 4755 usr/bin
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR REVIEW] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (2 preceding siblings ...)
  2020-12-08 19:34 ` edneville
@ 2020-12-08 20:15 ` ericonr
  2020-12-08 20:15 ` ericonr
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2020-12-08 20:15 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#discussion_r538772585

Comment:
The `pam-libs` dependency is detected automatically, does it also rely on `pam` itself?

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR REVIEW] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (3 preceding siblings ...)
  2020-12-08 20:15 ` [PR REVIEW] " ericonr
@ 2020-12-08 20:15 ` ericonr
  2020-12-08 20:15 ` ericonr
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2020-12-08 20:15 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#discussion_r538774629

Comment:
Aren't these covered by `do_install`?

You could just `chmod` them in `$DESTDIR/usr/bin`.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR REVIEW] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (4 preceding siblings ...)
  2020-12-08 20:15 ` ericonr
@ 2020-12-08 20:15 ` ericonr
  2020-12-08 20:15 ` ericonr
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2020-12-08 20:15 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#discussion_r538773698

Comment:
Doesn't gitlab allow you to fetch a specific tag? I could swear it did.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR REVIEW] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (5 preceding siblings ...)
  2020-12-08 20:15 ` ericonr
@ 2020-12-08 20:15 ` ericonr
  2020-12-09 18:43 ` [PR PATCH] [Updated] " edneville
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2020-12-08 20:15 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#discussion_r538774785

Comment:
```suggestion
short_desc="Polite and easy to configure regex-first sudo alternative "
```

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (6 preceding siblings ...)
  2020-12-08 20:15 ` ericonr
@ 2020-12-09 18:43 ` edneville
  2020-12-09 18:53 ` edneville
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-09 18:43 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.16
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 30f3c6dd25c51b90d0eb5210bf8f5d8a1a734032 Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: please-0.3.16

---
 srcpkgs/please/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/please/template

diff --git a/srcpkgs/please/template b/srcpkgs/please/template
new file mode 100644
index 00000000000..978153a2ef0
--- /dev/null
+++ b/srcpkgs/please/template
@@ -0,0 +1,33 @@
+# Template file for 'please'
+pkgname=please
+version=0.3.16
+revision=1
+_commit="d330c5b24018ad6144eeb12f382ca5c45c885640"
+wrksrc="${pkgname}-${_commit}-${_commit}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+depends="pam"
+short_desc="Please, a polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/please/repository/archive.tar.gz?ref=$_commit>archive.tar.gz"
+checksum=8ab2db68a20e4dc2b2bfd1e7f46d2dd3cef53e7db1cf0e120e6add3043a00a5b
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5 )
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1 )
+	vman ${manpage}
+	please=$(find ${wrksrc} -name please )
+	pleaseedit=$(find ${wrksrc} -name pleaseedit )
+	vinstall ${please} 4755 usr/bin
+	vinstall ${pleaseedit} 4755 usr/bin
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (7 preceding siblings ...)
  2020-12-09 18:43 ` [PR PATCH] [Updated] " edneville
@ 2020-12-09 18:53 ` edneville
  2020-12-09 19:29 ` ericonr
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-09 18:53 UTC (permalink / raw)
  To: ml

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

New comment by edneville on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-741977640

Comment:
> Neat project!
> Have you gone through a security review or similar procedure?

Good question. There hasn't been a formal security review. Maybe that is something for the future. Were you offering to sponsor? If so I would be willing to work with you on that.

Thanks for reviewing, I think the template looks cleaner based on your review. I hope the alterations are good now so I've resolved those conversations. Reopen if there are more changes are required.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (8 preceding siblings ...)
  2020-12-09 18:53 ` edneville
@ 2020-12-09 19:29 ` ericonr
  2020-12-09 21:04 ` edneville
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2020-12-09 19:29 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-741997312

Comment:
> Were you offering to sponsor? If so I would be willing to work with you on that.

Sorry, no :/

I was considering how inclusion into the distro would work, given that we have a responsibility for what we ship; and a sudo-like utility is a prime target.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (9 preceding siblings ...)
  2020-12-09 19:29 ` ericonr
@ 2020-12-09 21:04 ` edneville
  2020-12-10  0:11 ` ericonr
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-09 21:04 UTC (permalink / raw)
  To: ml

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

New comment by edneville on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-742050883

Comment:
On 2020-12-09 11:29-0800, Érico Nogueira Rolim wrote:
> > Were you offering to sponsor? If so I would be willing to work with you on that.
> 
> Sorry, no :/
> 
> I was considering how inclusion into the distro would work, given that 
> we have a responsibility for what we ship; and a sudo-like utility is 
> a prime target.

I understand your concern, there are two sides to this. Most distro 
users understand regex, at least from grep/sed/rewriterule, (something 
even in powershell) but few understand sudoers EBNF rules. Yes, it is 
new, but the long term goal provides a good way to reliably delegate 
access.

It will be good if it gets included, I think people will like it.

What were your thoughts?


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (10 preceding siblings ...)
  2020-12-09 21:04 ` edneville
@ 2020-12-10  0:11 ` ericonr
  2020-12-10  5:05 ` travankor
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2020-12-10  0:11 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-742144468

Comment:
> I understand your concern, there are two sides to this. Most distro
users understand regex, at least from grep/sed/rewriterule, (something
even in powershell) but few understand sudoers EBNF rules. Yes, it is
new, but the long term goal provides a good way to reliably delegate
access.

Yes, there's something to be said for providing simpler security tools that can greatly increase the general security, due to being simpler to deploy. At the same time, we still have to minimally ensure that these tools don't introduce new holes.

Since you're introducing a new tool into the field, the burden of proof for that is mostly on you. If I don't merge this new package, not much changes, and people who really want it can install it from elsewhere. If we do merge this package and someone finds an exploit or issue with it, then we (Void) share the responsibility for the number of affected people, since including it in our repository counts as vetting it.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (11 preceding siblings ...)
  2020-12-10  0:11 ` ericonr
@ 2020-12-10  5:05 ` travankor
  2020-12-10 21:10 ` [PR PATCH] [Updated] " edneville
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: travankor @ 2020-12-10  5:05 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-742242280

Comment:
Note that Void has [opendoas](https://github.com/duncaen/opendoas), based on a similar tool in OpenBSD's src.

Secondly, there seems to already be a similar, older tool called [please](https://github.com/gblach/please), packaged in FreeBSD, which can be a source of confusion for everyone. This project is called `pleaser` on crates.io, so I don't know what the reason is for the dual naming scheme.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (12 preceding siblings ...)
  2020-12-10  5:05 ` travankor
@ 2020-12-10 21:10 ` edneville
  2020-12-10 21:23 ` edneville
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-10 21:10 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.16
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From d9e357b7c638ba543795b3083c576b90f9261855 Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: pleaser-0.3.17

---
 srcpkgs/pleaser/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/pleaser/template

diff --git a/srcpkgs/pleaser/template b/srcpkgs/pleaser/template
new file mode 100644
index 00000000000..6fb7246fd19
--- /dev/null
+++ b/srcpkgs/pleaser/template
@@ -0,0 +1,29 @@
+# Template file for 'pleaser'
+pkgname=pleaser
+_binary=please
+version=0.3.17
+revision=1
+wrksrc="${_binary}-v${version}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+short_desc="Polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz"
+checksum=55a96329b85cdf2e28ada0dfe85f1219aafa4dc88513ceb99f87685de0ca676f
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5)
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1)
+	vman ${manpage}
+	chmod 6755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.16
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (13 preceding siblings ...)
  2020-12-10 21:10 ` [PR PATCH] [Updated] " edneville
@ 2020-12-10 21:23 ` edneville
  2020-12-11 19:13 ` [PR PATCH] [Updated] New package: please-0.3.17 edneville
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-10 21:23 UTC (permalink / raw)
  To: ml

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

New comment by edneville on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-742808466

Comment:
@ericonr:
> Yes, there's something to be said for providing simpler security tools that can greatly increase the general security, due to being simpler to deploy. At the same time, we still have to minimally ensure that these tools don't introduce new holes.

This is a good attitude, and one that makes me confident in Void for the same reasons that I like Debian.

> Since you're introducing a new tool into the field, the burden of proof for that is mostly on you. If I don't merge this new package, not much changes, and people who really want it can install it from elsewhere. If we do merge this package and someone finds an exploit or issue with it, then we (Void) share the responsibility for the number of affected people, since including it in our repository counts as vetting it.  

The codebase is particularly small if that helps reduce concerns over attack surface, really Rust's Regex is doing the heavy lifting here.

@travankor:
> Note that Void has [opendoas](https://github.com/duncaen/opendoas), based on a similar tool in OpenBSD's src.

I've looked at doas, which, for similar reasons to this project desired a smaller code base than sudo.

> Secondly, there seems to already be a similar, older tool called [please](https://github.com/gblach/please), packaged in FreeBSD, which can be a source of confusion for everyone. This project is called `pleaser` on crates.io, so I don't know what the reason is for the dual naming scheme.

I used 'please' in as I thought that if someone wanted a sandwich they should ask 'please' first :) As I'm now aware of prior naming I'll update the project name where it isn't already 'pleaser'.

I was aware of 'doas' but not that FreeBSD had a tool named 'please' too, I suppose it came from similar thinking.

Importantly for this project, neither doas or gblach's please have regex command matching. doas is more limited than 'sudo' in that you cannot specify a range either, but if someone uses wildcards in a sudo argument without negations afterwards will likely suffer unfairly. This effort is to improve things, hopefully with a small codebase there will be fewer pains all round.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (14 preceding siblings ...)
  2020-12-10 21:23 ` edneville
@ 2020-12-11 19:13 ` edneville
  2021-01-26 17:17 ` edneville
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2020-12-11 19:13 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.17
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 393dc4fb5a60b9b6d2e82ada29c67477746873ad Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: pleaser-0.3.18

---
 srcpkgs/pleaser/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/pleaser/template

diff --git a/srcpkgs/pleaser/template b/srcpkgs/pleaser/template
new file mode 100644
index 00000000000..25d4a6f1030
--- /dev/null
+++ b/srcpkgs/pleaser/template
@@ -0,0 +1,29 @@
+# Template file for 'pleaser'
+pkgname=pleaser
+_binary=please
+version=0.3.18
+revision=1
+wrksrc="${_binary}-v${version}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+short_desc="Polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz"
+checksum=0aee8a301e4d5a7b71e7afbdfb45a580f739b3c6b72b403efd977aaef69b55f5
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5)
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1)
+	vman ${manpage}
+	chmod 4755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (15 preceding siblings ...)
  2020-12-11 19:13 ` [PR PATCH] [Updated] New package: please-0.3.17 edneville
@ 2021-01-26 17:17 ` edneville
  2021-01-29 19:36 ` edneville
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2021-01-26 17:17 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.17
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From c823b32bb7af4163e8dd58360c5ab1edebb92b3e Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: pleaser-0.3.20

---
 srcpkgs/pleaser/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/pleaser/template

diff --git a/srcpkgs/pleaser/template b/srcpkgs/pleaser/template
new file mode 100644
index 00000000000..3af40e00b80
--- /dev/null
+++ b/srcpkgs/pleaser/template
@@ -0,0 +1,29 @@
+# Template file for 'pleaser'
+pkgname=pleaser
+_binary=please
+version=0.3.20
+revision=1
+wrksrc="${_binary}-v${version}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+short_desc="Polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz"
+checksum=066bdd271dd9a3fe0f501b8d04196361d352f6d07a4955a9ee3768a3abcc6e9f
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5)
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1)
+	vman ${manpage}
+	chmod 4755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (16 preceding siblings ...)
  2021-01-26 17:17 ` edneville
@ 2021-01-29 19:36 ` edneville
  2021-01-30 13:51 ` edneville
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2021-01-29 19:36 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.17
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 9d6c3f07e8ce2ddaaec6116aee865fdf799d4d80 Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: pleaser-0.3.21

---
 srcpkgs/pleaser/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/pleaser/template

diff --git a/srcpkgs/pleaser/template b/srcpkgs/pleaser/template
new file mode 100644
index 00000000000..3defaa1970b
--- /dev/null
+++ b/srcpkgs/pleaser/template
@@ -0,0 +1,29 @@
+# Template file for 'pleaser'
+pkgname=pleaser
+_binary=please
+version=0.3.21
+revision=1
+wrksrc="${_binary}-v${version}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+short_desc="Polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz"
+checksum=b7a8f6e8ac5ace83edb908c26679b36fc1d42a68c0232c4a6893fd7af5a95ad8
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5)
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1)
+	vman ${manpage}
+	chmod 4755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (17 preceding siblings ...)
  2021-01-29 19:36 ` edneville
@ 2021-01-30 13:51 ` edneville
  2021-03-02 18:46 ` edneville
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2021-01-30 13:51 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.17
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 4ae814f84892d450670179f7ebcd86db577cca8e Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 8 Dec 2020 18:06:09 +0000
Subject: [PATCH] New package: pleaser-0.3.21

---
 srcpkgs/pleaser/files/please.pam |  4 ++++
 srcpkgs/pleaser/template         | 31 +++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/pleaser/files/please.pam
 create mode 100644 srcpkgs/pleaser/template

diff --git a/srcpkgs/pleaser/files/please.pam b/srcpkgs/pleaser/files/please.pam
new file mode 100644
index 00000000000..d8eb16d0af0
--- /dev/null
+++ b/srcpkgs/pleaser/files/please.pam
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth 		include 	system-auth
+account 	include 	system-auth
+session 	include 	system-auth
diff --git a/srcpkgs/pleaser/template b/srcpkgs/pleaser/template
new file mode 100644
index 00000000000..22a25f5117a
--- /dev/null
+++ b/srcpkgs/pleaser/template
@@ -0,0 +1,31 @@
+# Template file for 'pleaser'
+pkgname=pleaser
+_binary=please
+version=0.3.21
+revision=1
+wrksrc="${_binary}-v${version}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+short_desc="Polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz"
+checksum=b7a8f6e8ac5ace83edb908c26679b36fc1d42a68c0232c4a6893fd7af5a95ad8
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	local manpage
+	vdoc README.md
+	manpage=$(find ${wrksrc} -name please.ini.5)
+	vman ${manpage}
+	manpage=$(find ${wrksrc} -name please.1)
+	vman ${manpage}
+	vinstall ${FILESDIR}/please.pam 644 etc/pam.d please
+	vinstall ${FILESDIR}/please.pam 644 etc/pam.d pleaseedit
+	chmod 4755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (18 preceding siblings ...)
  2021-01-30 13:51 ` edneville
@ 2021-03-02 18:46 ` edneville
  2021-03-06 17:52 ` edneville
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2021-03-02 18:46 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.17
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From e32d0fd293115228ee7832cb6375a41b7581587a Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Tue, 2 Mar 2021 18:40:48 +0000
Subject: [PATCH] New package: please-0.3.24

---
 srcpkgs/pleaser/files/please.pam |  4 ++++
 srcpkgs/pleaser/template         | 31 +++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/pleaser/files/please.pam
 create mode 100644 srcpkgs/pleaser/template

diff --git a/srcpkgs/pleaser/files/please.pam b/srcpkgs/pleaser/files/please.pam
new file mode 100644
index 00000000000..10a4824b56e
--- /dev/null
+++ b/srcpkgs/pleaser/files/please.pam
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth   include  system-auth
+account  include  system-auth
+session  include  system-auth
diff --git a/srcpkgs/pleaser/template b/srcpkgs/pleaser/template
new file mode 100644
index 00000000000..d2a58aa0d68
--- /dev/null
+++ b/srcpkgs/pleaser/template
@@ -0,0 +1,31 @@
+# Template file for 'pleaser'
+pkgname=pleaser
+_binary=please
+version=0.3.24
+revision=1
+wrksrc="${_binary}-v${version}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+short_desc="Polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz"
+checksum=ca6a50a4f28b78b23f98d24263248cf7a6eca3c2f20f05cbda86277ceeeda12e
+
+pre_build() {
+ export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+ export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+ local manpage
+ vdoc README.md
+ manpage=$(find ${wrksrc} -name please.ini.5)
+ vman ${manpage}
+ manpage=$(find ${wrksrc} -name please.1)
+ vman ${manpage}
+ vinstall ${FILESDIR}/please.pam 644 etc/pam.d please
+ vinstall ${FILESDIR}/please.pam 644 etc/pam.d pleaseedit
+ chmod 4755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (19 preceding siblings ...)
  2021-03-02 18:46 ` edneville
@ 2021-03-06 17:52 ` edneville
  2021-03-11 19:12 ` [PR PATCH] [Updated] " edneville
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2021-03-06 17:52 UTC (permalink / raw)
  To: ml

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

New comment by edneville on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-791999589

Comment:
@ericonr, is this ready to merge now?

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Updated] New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (20 preceding siblings ...)
  2021-03-06 17:52 ` edneville
@ 2021-03-11 19:12 ` edneville
  2021-04-18 23:42 ` [PR PATCH] [Closed]: " ericonr
  2021-04-18 23:42 ` ericonr
  23 siblings, 0 replies; 25+ messages in thread
From: edneville @ 2021-03-11 19:12 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by edneville against master on the void-packages repository

https://github.com/edneville/void-packages master
https://github.com/void-linux/void-packages/pull/27037

New package: please-0.3.17
Adding please, a simple regex-first sudo alternative in safe rust

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

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

From 588eab4eb3f9dd998efbe2f37b7dd200c5cac9a5 Mon Sep 17 00:00:00 2001
From: ed neville <ed@s5h.net>
Date: Thu, 11 Mar 2021 19:11:45 +0000
Subject: [PATCH] New package: please-0.3.25

---
 srcpkgs/pleaser/files/please.pam |  4 ++++
 srcpkgs/pleaser/template         | 31 +++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/pleaser/files/please.pam
 create mode 100644 srcpkgs/pleaser/template

diff --git a/srcpkgs/pleaser/files/please.pam b/srcpkgs/pleaser/files/please.pam
new file mode 100644
index 00000000000..10a4824b56e
--- /dev/null
+++ b/srcpkgs/pleaser/files/please.pam
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth   include  system-auth
+account  include  system-auth
+session  include  system-auth
diff --git a/srcpkgs/pleaser/template b/srcpkgs/pleaser/template
new file mode 100644
index 00000000000..f62e67ea485
--- /dev/null
+++ b/srcpkgs/pleaser/template
@@ -0,0 +1,31 @@
+# Template file for 'pleaser'
+pkgname=pleaser
+_binary=please
+version=0.3.25
+revision=1
+wrksrc="${_binary}-v${version}"
+build_style=cargo
+makedepends="cmake llvm clang pam-devel"
+short_desc="Polite and easy to configure regex-first sudo alternative "
+maintainer="Ed Neville <ed@s5h.net>"
+license="GPL-3.0-or-later"
+homepage="https://www.usenix.org.uk/content/please.html"
+distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz"
+checksum=2b9175175d23e8a2880a059dccef53121eae4452f43b86ed259261b3412210de
+
+pre_build() {
+ export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+ export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+ local manpage
+ vdoc README.md
+ manpage=$(find ${wrksrc} -name please.ini.5)
+ vman ${manpage}
+ manpage=$(find ${wrksrc} -name please.1)
+ vman ${manpage}
+ vinstall ${FILESDIR}/please.pam 644 etc/pam.d please
+ vinstall ${FILESDIR}/please.pam 644 etc/pam.d pleaseedit
+ chmod 4755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit
+}

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [PR PATCH] [Closed]: New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (21 preceding siblings ...)
  2021-03-11 19:12 ` [PR PATCH] [Updated] " edneville
@ 2021-04-18 23:42 ` ericonr
  2021-04-18 23:42 ` ericonr
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2021-04-18 23:42 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: please-0.3.17
https://github.com/void-linux/void-packages/pull/27037

Description:
Adding please, a simple regex-first sudo alternative in safe rust

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: New package: please-0.3.17
  2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
                   ` (22 preceding siblings ...)
  2021-04-18 23:42 ` [PR PATCH] [Closed]: " ericonr
@ 2021-04-18 23:42 ` ericonr
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2021-04-18 23:42 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27037#issuecomment-822086902

Comment:
I don't feel comfortable merging this myself (unless the situation around a review has changed?), and no other Void maintainer has stepped up to do it. Configuring such a tool using regex feels like a new enough paradigm (to me, at least), that beyond the implementation issues, there are probably new pitfalls to discover.

For the reasons listed above, I will be closing this issue, to avoid giving the impression that some behind the scenes movement is happening in regards to it. Thanks for your interest in Void!

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2021-04-18 23:42 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 19:14 [PR PATCH] New package: please-0.3.16 edneville
2020-12-08 19:16 ` [PR PATCH] [Updated] " edneville
2020-12-08 19:24 ` edneville
2020-12-08 19:34 ` edneville
2020-12-08 20:15 ` [PR REVIEW] " ericonr
2020-12-08 20:15 ` ericonr
2020-12-08 20:15 ` ericonr
2020-12-08 20:15 ` ericonr
2020-12-09 18:43 ` [PR PATCH] [Updated] " edneville
2020-12-09 18:53 ` edneville
2020-12-09 19:29 ` ericonr
2020-12-09 21:04 ` edneville
2020-12-10  0:11 ` ericonr
2020-12-10  5:05 ` travankor
2020-12-10 21:10 ` [PR PATCH] [Updated] " edneville
2020-12-10 21:23 ` edneville
2020-12-11 19:13 ` [PR PATCH] [Updated] New package: please-0.3.17 edneville
2021-01-26 17:17 ` edneville
2021-01-29 19:36 ` edneville
2021-01-30 13:51 ` edneville
2021-03-02 18:46 ` edneville
2021-03-06 17:52 ` edneville
2021-03-11 19:12 ` [PR PATCH] [Updated] " edneville
2021-04-18 23:42 ` [PR PATCH] [Closed]: " ericonr
2021-04-18 23:42 ` ericonr

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).