* [PR PATCH] New package: NetAuth-localizer-0.1.0
@ 2020-04-19 5:26 the-maldridge
2020-04-19 5:54 ` [PR PATCH] [Updated] " the-maldridge
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: the-maldridge @ 2020-04-19 5:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]
There is a new pull request by the-maldridge against master on the void-packages repository
https://github.com/the-maldridge/void-packages localizer
https://github.com/void-linux/void-packages/pull/21144
New package: NetAuth-localizer-0.1.0
Not sure if this is the best day to do the options in the snooze line. If there's something better I'd like to know.
A patch file from https://github.com/void-linux/void-packages/pull/21144.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-localizer-21144.patch --]
[-- Type: text/x-diff, Size: 1723 bytes --]
From 77633e0823ee338b0f8eb3996d52a370e18c61aa Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Sat, 18 Apr 2020 22:24:24 -0700
Subject: [PATCH] New package: NetAuth-localizer-0.1.0
---
srcpkgs/NetAuth-localizer/files/localize/run | 8 +++++++
srcpkgs/NetAuth-localizer/template | 24 ++++++++++++++++++++
2 files changed, 32 insertions(+)
create mode 100755 srcpkgs/NetAuth-localizer/files/localize/run
create mode 100644 srcpkgs/NetAuth-localizer/template
diff --git a/srcpkgs/NetAuth-localizer/files/localize/run b/srcpkgs/NetAuth-localizer/files/localize/run
new file mode 100755
index 00000000000..b90b612f7ec
--- /dev/null
+++ b/srcpkgs/NetAuth-localizer/files/localize/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+HOUR='*'
+MINUTE='0,30'
+
+[ -r ./conf ] && . ./conf
+
+snooze -H $HOUR -M $MINUTE localize
diff --git a/srcpkgs/NetAuth-localizer/template b/srcpkgs/NetAuth-localizer/template
new file mode 100644
index 00000000000..7f91d714f43
--- /dev/null
+++ b/srcpkgs/NetAuth-localizer/template
@@ -0,0 +1,24 @@
+# Template file for 'NetAuth-localizer'
+pkgname=NetAuth-localizer
+version=0.1.0
+revision=1
+wrksrc=localizer-$version
+build_style=go
+go_import_path=github.com/netauth/localizer
+go_package=${go_import_path}/cmd/localize
+hostmakedepends="git"
+depends="snooze"
+short_desc="Make NetAuth accounts local in Linux"
+maintainer="Michael Aldridge <maldridge@netauth.org>"
+license="MIT"
+homepage="https://netauth.org/ecosystem/localizer"
+distfiles="https://github.com/netauth/localizer/archive/v$version.tar.gz"
+checksum=0cab66230e8845d40ecf9a6033c63730e5fc73a3a778cefe2cc98d4787cd5329
+
+do_check() {
+ go test -v ./...
+}
+
+post_install() {
+ vsv localize
+}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] New package: NetAuth-localizer-0.1.0
2020-04-19 5:26 [PR PATCH] New package: NetAuth-localizer-0.1.0 the-maldridge
@ 2020-04-19 5:54 ` the-maldridge
2020-04-19 9:17 ` Anachron
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: the-maldridge @ 2020-04-19 5:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
There is an updated pull request by the-maldridge against master on the void-packages repository
https://github.com/the-maldridge/void-packages localizer
https://github.com/void-linux/void-packages/pull/21144
New package: NetAuth-localizer-0.1.0
Not sure if this is the best day to do the options in the snooze line. If there's something better I'd like to know.
A patch file from https://github.com/void-linux/void-packages/pull/21144.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-localizer-21144.patch --]
[-- Type: text/x-diff, Size: 1742 bytes --]
From f1ed65d75e1305cc7b2098c3941dc1db52e99797 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Sat, 18 Apr 2020 22:24:24 -0700
Subject: [PATCH] New package: NetAuth-localizer-0.1.0
---
srcpkgs/NetAuth-localizer/files/localize/run | 8 +++++++
srcpkgs/NetAuth-localizer/template | 25 ++++++++++++++++++++
2 files changed, 33 insertions(+)
create mode 100755 srcpkgs/NetAuth-localizer/files/localize/run
create mode 100644 srcpkgs/NetAuth-localizer/template
diff --git a/srcpkgs/NetAuth-localizer/files/localize/run b/srcpkgs/NetAuth-localizer/files/localize/run
new file mode 100755
index 00000000000..b90b612f7ec
--- /dev/null
+++ b/srcpkgs/NetAuth-localizer/files/localize/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+HOUR='*'
+MINUTE='0,30'
+
+[ -r ./conf ] && . ./conf
+
+snooze -H $HOUR -M $MINUTE localize
diff --git a/srcpkgs/NetAuth-localizer/template b/srcpkgs/NetAuth-localizer/template
new file mode 100644
index 00000000000..f01ad4b4f4b
--- /dev/null
+++ b/srcpkgs/NetAuth-localizer/template
@@ -0,0 +1,25 @@
+# Template file for 'NetAuth-localizer'
+pkgname=NetAuth-localizer
+version=0.1.0
+revision=1
+wrksrc=localizer-$version
+build_style=go
+go_import_path=github.com/netauth/localizer
+go_package=${go_import_path}/cmd/localize
+hostmakedepends="git"
+depends="snooze"
+short_desc="Make NetAuth accounts local in Linux"
+maintainer="Michael Aldridge <maldridge@netauth.org>"
+license="MIT"
+homepage="https://netauth.org/ecosystem/localizer"
+distfiles="https://github.com/netauth/localizer/archive/v$version.tar.gz"
+checksum=0cab66230e8845d40ecf9a6033c63730e5fc73a3a778cefe2cc98d4787cd5329
+
+do_check() {
+ go test -v ./...
+}
+
+post_install() {
+ vsv localize
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: NetAuth-localizer-0.1.0
2020-04-19 5:26 [PR PATCH] New package: NetAuth-localizer-0.1.0 the-maldridge
2020-04-19 5:54 ` [PR PATCH] [Updated] " the-maldridge
@ 2020-04-19 9:17 ` Anachron
2020-04-19 20:38 ` the-maldridge
2020-04-20 2:09 ` [PR PATCH] [Closed]: " the-maldridge
3 siblings, 0 replies; 5+ messages in thread
From: Anachron @ 2020-04-19 9:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/21144#issuecomment-616083410
Comment:
Can we make snooze optional so one can put this into a crontab instead and not need it?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: NetAuth-localizer-0.1.0
2020-04-19 5:26 [PR PATCH] New package: NetAuth-localizer-0.1.0 the-maldridge
2020-04-19 5:54 ` [PR PATCH] [Updated] " the-maldridge
2020-04-19 9:17 ` Anachron
@ 2020-04-19 20:38 ` the-maldridge
2020-04-20 2:09 ` [PR PATCH] [Closed]: " the-maldridge
3 siblings, 0 replies; 5+ messages in thread
From: the-maldridge @ 2020-04-19 20:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
New comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/21144#issuecomment-616221475
Comment:
Making snooze optional would require dropping the entire run script. I'm less inclined to do this, as the primary consumer of NetAuth is Void itself, which uses snooze over crontab.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: New package: NetAuth-localizer-0.1.0
2020-04-19 5:26 [PR PATCH] New package: NetAuth-localizer-0.1.0 the-maldridge
` (2 preceding siblings ...)
2020-04-19 20:38 ` the-maldridge
@ 2020-04-20 2:09 ` the-maldridge
3 siblings, 0 replies; 5+ messages in thread
From: the-maldridge @ 2020-04-20 2:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
There's a closed pull request on the void-packages repository
New package: NetAuth-localizer-0.1.0
https://github.com/void-linux/void-packages/pull/21144
Description:
Not sure if this is the best day to do the options in the snooze line. If there's something better I'd like to know.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-04-20 2:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19 5:26 [PR PATCH] New package: NetAuth-localizer-0.1.0 the-maldridge
2020-04-19 5:54 ` [PR PATCH] [Updated] " the-maldridge
2020-04-19 9:17 ` Anachron
2020-04-19 20:38 ` the-maldridge
2020-04-20 2:09 ` [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).