Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: timelimit 1.9.2
@ 2021-08-18 17:22 chexum
  2021-09-18 10:38 ` [PR PATCH] [Updated] " chexum
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: chexum @ 2021-08-18 17:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/chexum/void-packages timelimit-1.9.2
https://github.com/void-linux/void-packages/pull/32564

New package: timelimit 1.9.2
<!-- Mark items with [x] where applicable -->

timelimit is a tool to limit process run times which a few of my scripts, that were developed on other distributions, were using, and it's not very straightforward to implement the functionality otherwise.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 08db46ac8a3d1a2e8353a494328bc2af59b02731 Mon Sep 17 00:00:00 2001
From: J Farkas <chexum+git@gmail.com>
Date: Wed, 18 Aug 2021 17:16:34 +0000
Subject: [PATCH] New package: timelimit 1.9.2

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

diff --git a/srcpkgs/timelimit/template b/srcpkgs/timelimit/template
new file mode 100644
index 000000000000..4872b2e89f5a
--- /dev/null
+++ b/srcpkgs/timelimit/template
@@ -0,0 +1,21 @@
+# Template file for 'timelimit'
+pkgname=timelimit
+version=1.9.2
+revision=1
+build_style=gnu-makefile
+make_install_args="STRIP=-s MANDIR=/usr/share/man"
+short_desc="Limit command execution time"
+maintainer="J Farkas <chexum+git@gmail.com>"
+license="BSD-2-Clause"
+homepage="http://devel.ringlet.net/sysutils/timelimit/"
+distfiles="https://devel.ringlet.net/files/sys/timelimit/timelimit-${version}.tar.xz"
+checksum=9cdd1f06049b9e1a4b7a8a93a0d4d0e1920bd617e7cd005525261a3f91386796
+make_check=no
+
+post_extract() {
+	head -50 timelimit.c |egrep '^ \*($| )'|cut -c4- >LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: timelimit 1.9.2
  2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
@ 2021-09-18 10:38 ` chexum
  2021-09-19 19:11 ` chexum
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: chexum @ 2021-09-18 10:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/chexum/void-packages timelimit-1.9.2
https://github.com/void-linux/void-packages/pull/32564

New package: timelimit 1.9.2
<!-- Mark items with [x] where applicable -->

timelimit is a tool to limit process run times which a few of my scripts, that were developed on other distributions, were using, and it's not very straightforward to implement the functionality otherwise.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From dff73c741444e63e7aff9de230024ee844bab791 Mon Sep 17 00:00:00 2001
From: J Farkas <chexum+git@gmail.com>
Date: Wed, 18 Aug 2021 17:16:34 +0000
Subject: [PATCH] New package: timelimit 1.9.2

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

diff --git a/srcpkgs/timelimit/template b/srcpkgs/timelimit/template
new file mode 100644
index 000000000000..4872b2e89f5a
--- /dev/null
+++ b/srcpkgs/timelimit/template
@@ -0,0 +1,21 @@
+# Template file for 'timelimit'
+pkgname=timelimit
+version=1.9.2
+revision=1
+build_style=gnu-makefile
+make_install_args="STRIP=-s MANDIR=/usr/share/man"
+short_desc="Limit command execution time"
+maintainer="J Farkas <chexum+git@gmail.com>"
+license="BSD-2-Clause"
+homepage="http://devel.ringlet.net/sysutils/timelimit/"
+distfiles="https://devel.ringlet.net/files/sys/timelimit/timelimit-${version}.tar.xz"
+checksum=9cdd1f06049b9e1a4b7a8a93a0d4d0e1920bd617e7cd005525261a3f91386796
+make_check=no
+
+post_extract() {
+	head -50 timelimit.c |egrep '^ \*($| )'|cut -c4- >LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: timelimit 1.9.2
  2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
  2021-09-18 10:38 ` [PR PATCH] [Updated] " chexum
@ 2021-09-19 19:11 ` chexum
  2021-09-21 18:23 ` Johnnynator
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: chexum @ 2021-09-19 19:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/chexum/void-packages timelimit-1.9.2
https://github.com/void-linux/void-packages/pull/32564

New package: timelimit 1.9.2
<!-- Mark items with [x] where applicable -->

timelimit is a tool to limit process run times which a few of my scripts, that were developed on other distributions, were using, and it's not very straightforward to implement the functionality otherwise.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From be79206c7d1259783827efcf30f0fb29bcfae449 Mon Sep 17 00:00:00 2001
From: J Farkas <chexum+git@gmail.com>
Date: Wed, 18 Aug 2021 17:16:34 +0000
Subject: [PATCH] New package: timelimit 1.9.2

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

diff --git a/srcpkgs/timelimit/template b/srcpkgs/timelimit/template
new file mode 100644
index 000000000000..4872b2e89f5a
--- /dev/null
+++ b/srcpkgs/timelimit/template
@@ -0,0 +1,21 @@
+# Template file for 'timelimit'
+pkgname=timelimit
+version=1.9.2
+revision=1
+build_style=gnu-makefile
+make_install_args="STRIP=-s MANDIR=/usr/share/man"
+short_desc="Limit command execution time"
+maintainer="J Farkas <chexum+git@gmail.com>"
+license="BSD-2-Clause"
+homepage="http://devel.ringlet.net/sysutils/timelimit/"
+distfiles="https://devel.ringlet.net/files/sys/timelimit/timelimit-${version}.tar.xz"
+checksum=9cdd1f06049b9e1a4b7a8a93a0d4d0e1920bd617e7cd005525261a3f91386796
+make_check=no
+
+post_extract() {
+	head -50 timelimit.c |egrep '^ \*($| )'|cut -c4- >LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: timelimit 1.9.2
  2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
  2021-09-18 10:38 ` [PR PATCH] [Updated] " chexum
  2021-09-19 19:11 ` chexum
@ 2021-09-21 18:23 ` Johnnynator
  2021-09-24 17:48 ` chexum
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2021-09-21 18:23 UTC (permalink / raw)
  To: ml

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

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/32564#issuecomment-924246564

Comment:
What is the difference of timelimit compare to e.g. `timeout` with the additional usage of `--kill-after`? They kinda sound like doing the same to me.

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

* Re: New package: timelimit 1.9.2
  2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
                   ` (2 preceding siblings ...)
  2021-09-21 18:23 ` Johnnynator
@ 2021-09-24 17:48 ` chexum
  2021-09-25 12:31 ` [PR PATCH] [Updated] " Johnnynator
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: chexum @ 2021-09-24 17:48 UTC (permalink / raw)
  To: ml

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

New comment by chexum on void-packages repository

https://github.com/void-linux/void-packages/pull/32564#issuecomment-926813444

Comment:
My scripts that use it are before limeout(1) was a thing.

timelimit(1) seems to be available in most distributions, so it seemed cross-platform enough to be useful.

This timelimit(1) and timeout(1) provide largely matching functionality, but the invocation is incompatible, so converting between them needs adjusting any scripts.

To be fair, nowadays timeout(1) is part of all BSDs and OS X, perhaps this package is not that critical to provide.

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

* Re: [PR PATCH] [Updated] New package: timelimit 1.9.2
  2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
                   ` (3 preceding siblings ...)
  2021-09-24 17:48 ` chexum
@ 2021-09-25 12:31 ` Johnnynator
  2021-09-25 12:31 ` Johnnynator
  2021-09-25 12:32 ` [PR PATCH] [Merged]: " Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2021-09-25 12:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/chexum/void-packages timelimit-1.9.2
https://github.com/void-linux/void-packages/pull/32564

New package: timelimit 1.9.2
<!-- Mark items with [x] where applicable -->

timelimit is a tool to limit process run times which a few of my scripts, that were developed on other distributions, were using, and it's not very straightforward to implement the functionality otherwise.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From ccb59e704f02accfa528ad52061c44e1c0132143 Mon Sep 17 00:00:00 2001
From: J Farkas <chexum+git@gmail.com>
Date: Wed, 18 Aug 2021 17:16:34 +0000
Subject: [PATCH] New package: timelimit 1.9.2

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

diff --git a/srcpkgs/timelimit/template b/srcpkgs/timelimit/template
new file mode 100644
index 000000000000..2087aa948263
--- /dev/null
+++ b/srcpkgs/timelimit/template
@@ -0,0 +1,21 @@
+# Template file for 'timelimit'
+pkgname=timelimit
+version=1.9.2
+revision=1
+build_style=gnu-makefile
+make_install_args="STRIP=-s MANDIR=/usr/share/man"
+checkdepends="perl"
+short_desc="Limit command execution time"
+maintainer="J Farkas <chexum+git@gmail.com>"
+license="BSD-2-Clause"
+homepage="http://devel.ringlet.net/sysutils/timelimit/"
+distfiles="https://devel.ringlet.net/files/sys/timelimit/timelimit-${version}.tar.xz"
+checksum=9cdd1f06049b9e1a4b7a8a93a0d4d0e1920bd617e7cd005525261a3f91386796
+
+post_extract() {
+	head -50 timelimit.c |egrep '^ \*($| )'|cut -c4- >LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: timelimit 1.9.2
  2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
                   ` (4 preceding siblings ...)
  2021-09-25 12:31 ` [PR PATCH] [Updated] " Johnnynator
@ 2021-09-25 12:31 ` Johnnynator
  2021-09-25 12:32 ` [PR PATCH] [Merged]: " Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2021-09-25 12:31 UTC (permalink / raw)
  To: ml

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

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/32564#issuecomment-927114539

Comment:
Mainly pointed to timeout since you talked about replacing timelimit would not be straight forward.

But timelimit checks all boxes to be included into the repo (actively maintained, tagged releases, needs to be compiled) and the PR looks mostly fine. I went ahead and replaced `make_check=no` with `checkdepends="perl"`

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

* Re: [PR PATCH] [Merged]: New package: timelimit 1.9.2
  2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
                   ` (5 preceding siblings ...)
  2021-09-25 12:31 ` Johnnynator
@ 2021-09-25 12:32 ` Johnnynator
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2021-09-25 12:32 UTC (permalink / raw)
  To: ml

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

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

New package: timelimit 1.9.2
https://github.com/void-linux/void-packages/pull/32564

Description:
<!-- Mark items with [x] where applicable -->

timelimit is a tool to limit process run times which a few of my scripts, that were developed on other distributions, were using, and it's not very straightforward to implement the functionality otherwise.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

end of thread, other threads:[~2021-09-25 12:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 17:22 [PR PATCH] New package: timelimit 1.9.2 chexum
2021-09-18 10:38 ` [PR PATCH] [Updated] " chexum
2021-09-19 19:11 ` chexum
2021-09-21 18:23 ` Johnnynator
2021-09-24 17:48 ` chexum
2021-09-25 12:31 ` [PR PATCH] [Updated] " Johnnynator
2021-09-25 12:31 ` Johnnynator
2021-09-25 12:32 ` [PR PATCH] [Merged]: " Johnnynator

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