Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: NetAuth-ldap-0.1.0
@ 2020-08-24  4:44 the-maldridge
  2020-08-24  5:02 ` [PR REVIEW] " nilium
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: the-maldridge @ 2020-08-24  4:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/the-maldridge/void-packages naldap
https://github.com/void-linux/void-packages/pull/24451

New package: NetAuth-ldap-0.1.0


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

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

From d9e8f89d68631332949fd424d114b8821c8de0b5 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Sun, 23 Aug 2020 21:19:53 -0700
Subject: [PATCH] New package: NetAuth-ldap-0.1.0

---
 srcpkgs/NetAuth-ldap/INSTALL                  | 12 ++++++++++++
 .../NetAuth-ldap/files/netauth-ldap/log/run   |  4 ++++
 srcpkgs/NetAuth-ldap/files/netauth-ldap/run   |  5 +++++
 srcpkgs/NetAuth-ldap/template                 | 19 +++++++++++++++++++
 4 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/NetAuth-ldap/INSTALL
 create mode 100644 srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
 create mode 100644 srcpkgs/NetAuth-ldap/files/netauth-ldap/run
 create mode 100644 srcpkgs/NetAuth-ldap/template

diff --git a/srcpkgs/NetAuth-ldap/INSTALL b/srcpkgs/NetAuth-ldap/INSTALL
new file mode 100644
index 00000000000..c0502cee147
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/INSTALL
@@ -0,0 +1,12 @@
+case "${ACTION}" in
+post)
+	# Set CAP_NET_BIND_SERVICE capability or exit gracefully if we cannot set the capability
+	# due to invalid permissions (fakeroot install).
+	set +e
+	setcap 'cap_net_bind_service=+ep' /usr/bin/ldap
+	if [ $? -ne 0 ]; then
+		echo "ERROR: failed to set cap_net_bind_service capability on ldap."
+		exit 0
+	fi
+	;;
+esac
diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
new file mode 100644
index 00000000000..29dc909b4d8
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec vlogger -t netauth-ldap
diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run
new file mode 100644
index 00000000000..465f4e54904
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec chpst -u _netauth_ldap:_netauth_ldap ldap 2>&1
diff --git a/srcpkgs/NetAuth-ldap/template b/srcpkgs/NetAuth-ldap/template
new file mode 100644
index 00000000000..f58913e37a3
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/template
@@ -0,0 +1,19 @@
+# Template file for 'NetAuth-ldap'
+pkgname=NetAuth-ldap
+version=0.1.0rc1
+revision=1
+wrksrc=ldap-$version
+build_style=go
+go_import_path=github.com/netauth/ldap
+go_ldflags="-X github.com/netauth/ldap/internal/buildinfo.Version=${version}"
+hostmakedepends="git"
+short_desc="LDAP Proxy for NetAuth"
+maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
+license="MIT"
+homepage="https://www.netauth.org/ecosystem/ldap"
+distfiles="https://github.com/netauth/ldap/archive/v$version.tar.gz"
+checksum=4e5c51ed6e95ab0ea47b55b65f714bc1640abebd00d66e8599b5105392c0dd9b
+
+post_install() {
+	vlicense LICENSE.md
+}

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

* Re: [PR REVIEW] New package: NetAuth-ldap-0.1.0
  2020-08-24  4:44 [PR PATCH] New package: NetAuth-ldap-0.1.0 the-maldridge
@ 2020-08-24  5:02 ` nilium
  2020-08-24  5:03 ` the-maldridge
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: nilium @ 2020-08-24  5:02 UTC (permalink / raw)
  To: ml

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

New review comment by nilium on void-packages repository

https://github.com/void-linux/void-packages/pull/24451#discussion_r475343879

Comment:
Does this affect anything if it's not used in the exec line?

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

* Re: [PR REVIEW] New package: NetAuth-ldap-0.1.0
  2020-08-24  4:44 [PR PATCH] New package: NetAuth-ldap-0.1.0 the-maldridge
  2020-08-24  5:02 ` [PR REVIEW] " nilium
@ 2020-08-24  5:03 ` the-maldridge
  2020-08-24  8:54 ` the-maldridge
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2020-08-24  5:03 UTC (permalink / raw)
  To: ml

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

New review comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/24451#discussion_r475344227

Comment:
Yes, as you can set the log level via an environment variable.

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

* Re: New package: NetAuth-ldap-0.1.0
  2020-08-24  4:44 [PR PATCH] New package: NetAuth-ldap-0.1.0 the-maldridge
  2020-08-24  5:02 ` [PR REVIEW] " nilium
  2020-08-24  5:03 ` the-maldridge
@ 2020-08-24  8:54 ` the-maldridge
  2020-08-26  3:34 ` [PR PATCH] [Updated] " the-maldridge
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2020-08-24  8:54 UTC (permalink / raw)
  To: ml

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

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/24451#issuecomment-678999662

Comment:
NOMERGE.  I'm still doing upstream release engineering before tagging 0.1.0

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

* Re: [PR PATCH] [Updated] New package: NetAuth-ldap-0.1.0
  2020-08-24  4:44 [PR PATCH] New package: NetAuth-ldap-0.1.0 the-maldridge
                   ` (2 preceding siblings ...)
  2020-08-24  8:54 ` the-maldridge
@ 2020-08-26  3:34 ` the-maldridge
  2020-10-02  2:08 ` the-maldridge
  2020-10-02  4:50 ` [PR PATCH] [Closed]: " the-maldridge
  5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2020-08-26  3:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/the-maldridge/void-packages naldap
https://github.com/void-linux/void-packages/pull/24451

New package: NetAuth-ldap-0.1.0


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

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

From d2571142871c9e6de9cd7eb0d6f5514627ca0d06 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Sun, 23 Aug 2020 21:19:53 -0700
Subject: [PATCH] New package: NetAuth-ldap-0.1.0

---
 srcpkgs/NetAuth-ldap/INSTALL                  | 12 +++++++++++
 .../NetAuth-ldap/files/netauth-ldap/log/run   |  4 ++++
 srcpkgs/NetAuth-ldap/files/netauth-ldap/run   |  5 +++++
 srcpkgs/NetAuth-ldap/template                 | 21 +++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/NetAuth-ldap/INSTALL
 create mode 100644 srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
 create mode 100644 srcpkgs/NetAuth-ldap/files/netauth-ldap/run
 create mode 100644 srcpkgs/NetAuth-ldap/template

diff --git a/srcpkgs/NetAuth-ldap/INSTALL b/srcpkgs/NetAuth-ldap/INSTALL
new file mode 100644
index 00000000000..c0502cee147
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/INSTALL
@@ -0,0 +1,12 @@
+case "${ACTION}" in
+post)
+	# Set CAP_NET_BIND_SERVICE capability or exit gracefully if we cannot set the capability
+	# due to invalid permissions (fakeroot install).
+	set +e
+	setcap 'cap_net_bind_service=+ep' /usr/bin/ldap
+	if [ $? -ne 0 ]; then
+		echo "ERROR: failed to set cap_net_bind_service capability on ldap."
+		exit 0
+	fi
+	;;
+esac
diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
new file mode 100644
index 00000000000..29dc909b4d8
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec vlogger -t netauth-ldap
diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run
new file mode 100644
index 00000000000..465f4e54904
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec chpst -u _netauth_ldap:_netauth_ldap ldap 2>&1
diff --git a/srcpkgs/NetAuth-ldap/template b/srcpkgs/NetAuth-ldap/template
new file mode 100644
index 00000000000..105d5c6ee0f
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/template
@@ -0,0 +1,21 @@
+# Template file for 'NetAuth-ldap'
+pkgname=NetAuth-ldap
+version=0.1.0
+revision=1
+wrksrc=ldap-$version
+build_style=go
+go_import_path=github.com/netauth/ldap
+go_ldflags="-X github.com/netauth/ldap/internal/buildinfo.Version=${version}"
+hostmakedepends="git"
+short_desc="LDAP Proxy for NetAuth"
+maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
+license="MIT"
+homepage="https://www.netauth.org/ecosystem/ldap"
+distfiles="https://github.com/netauth/ldap/archive/v$version.tar.gz"
+checksum=e179918429f133f8360bf9ee6a1ceefa283f245bf5ee0b705676fff9e1442fb4
+system_accounts="_netauth_ldap"
+
+post_install() {
+	vsv netauth-ldap
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: NetAuth-ldap-0.1.0
  2020-08-24  4:44 [PR PATCH] New package: NetAuth-ldap-0.1.0 the-maldridge
                   ` (3 preceding siblings ...)
  2020-08-26  3:34 ` [PR PATCH] [Updated] " the-maldridge
@ 2020-10-02  2:08 ` the-maldridge
  2020-10-02  4:50 ` [PR PATCH] [Closed]: " the-maldridge
  5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2020-10-02  2:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/the-maldridge/void-packages naldap
https://github.com/void-linux/void-packages/pull/24451

New package: NetAuth-ldap-0.1.0


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

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

From b1448ea3ef5fd73e8fc4307476fb1450317e1e91 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Sun, 23 Aug 2020 21:19:53 -0700
Subject: [PATCH] New package: NetAuth-ldap-0.1.0

---
 srcpkgs/NetAuth-ldap/INSTALL                  | 12 +++++++++++
 .../NetAuth-ldap/files/netauth-ldap/log/run   |  4 ++++
 srcpkgs/NetAuth-ldap/files/netauth-ldap/run   |  5 +++++
 srcpkgs/NetAuth-ldap/template                 | 21 +++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/NetAuth-ldap/INSTALL
 create mode 100644 srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
 create mode 100644 srcpkgs/NetAuth-ldap/files/netauth-ldap/run
 create mode 100644 srcpkgs/NetAuth-ldap/template

diff --git a/srcpkgs/NetAuth-ldap/INSTALL b/srcpkgs/NetAuth-ldap/INSTALL
new file mode 100644
index 00000000000..c0502cee147
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/INSTALL
@@ -0,0 +1,12 @@
+case "${ACTION}" in
+post)
+	# Set CAP_NET_BIND_SERVICE capability or exit gracefully if we cannot set the capability
+	# due to invalid permissions (fakeroot install).
+	set +e
+	setcap 'cap_net_bind_service=+ep' /usr/bin/ldap
+	if [ $? -ne 0 ]; then
+		echo "ERROR: failed to set cap_net_bind_service capability on ldap."
+		exit 0
+	fi
+	;;
+esac
diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
new file mode 100644
index 00000000000..29dc909b4d8
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec vlogger -t netauth-ldap
diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run
new file mode 100644
index 00000000000..465f4e54904
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec chpst -u _netauth_ldap:_netauth_ldap ldap 2>&1
diff --git a/srcpkgs/NetAuth-ldap/template b/srcpkgs/NetAuth-ldap/template
new file mode 100644
index 00000000000..d9d5dc61f18
--- /dev/null
+++ b/srcpkgs/NetAuth-ldap/template
@@ -0,0 +1,21 @@
+# Template file for 'NetAuth-ldap'
+pkgname=NetAuth-ldap
+version=0.1.0
+revision=1
+wrksrc=ldap-$version
+build_style=go
+go_import_path=github.com/netauth/ldap
+go_ldflags="-X github.com/netauth/ldap/internal/buildinfo.Version=${version}"
+hostmakedepends="git"
+short_desc="LDAP Proxy for NetAuth"
+maintainer="Michael Aldridge <maldridge@netauth.org>"
+license="MIT"
+homepage="https://www.netauth.org/ecosystem/ldap"
+distfiles="https://github.com/netauth/ldap/archive/v$version.tar.gz"
+checksum=e179918429f133f8360bf9ee6a1ceefa283f245bf5ee0b705676fff9e1442fb4
+system_accounts="_netauth_ldap"
+
+post_install() {
+	vsv netauth-ldap
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Closed]: New package: NetAuth-ldap-0.1.0
  2020-08-24  4:44 [PR PATCH] New package: NetAuth-ldap-0.1.0 the-maldridge
                   ` (4 preceding siblings ...)
  2020-10-02  2:08 ` the-maldridge
@ 2020-10-02  4:50 ` the-maldridge
  5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2020-10-02  4:50 UTC (permalink / raw)
  To: ml

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

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

New package: NetAuth-ldap-0.1.0
https://github.com/void-linux/void-packages/pull/24451

Description:


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

end of thread, other threads:[~2020-10-02  4:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24  4:44 [PR PATCH] New package: NetAuth-ldap-0.1.0 the-maldridge
2020-08-24  5:02 ` [PR REVIEW] " nilium
2020-08-24  5:03 ` the-maldridge
2020-08-24  8:54 ` the-maldridge
2020-08-26  3:34 ` [PR PATCH] [Updated] " the-maldridge
2020-10-02  2:08 ` the-maldridge
2020-10-02  4:50 ` [PR PATCH] [Closed]: " the-maldridge

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