Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: hctl-0.2.2
@ 2023-09-04 14:20 michalszmidt
  2023-09-05 17:51 ` classabbyamp
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-04 14:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- cross-compile for `ppc64-glibc` fails on make glibc, so probably native runner would succeed
- `riscv64` not tested
- not tested on void `*-musl` **but**, on alpine succeeds with `x86_64` and `aarch64`, see [here](https://cirrus-ci.com/build/6405859526311936)

_Disclaimer:_
I'm a hctl author.
And I :heart: void linux thus I would like it packaged.

All in all this tool allows to manage host domain blocking (hostlist generation from multiple sources, record deduplication) and operates in parallel and it's optimized for memory. So I believe in its value for others, comparing to use some nasty scripts or sed especially when you count records in millions. 

Have a nice day!

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

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

From a0e1d12d38a55178c53dd470bebde3e9e639deaf Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] Added hctl

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..ed524b9a4bc1e
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,24 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.2
+revision=1
+archs="i686* x86_64* aarch64* armv6* armv7*"
+build_style=cargo
+hostmakedepends="pkg-config base-devel"
+makedepends="openssl-devel"
+depends="openssl"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause-No-Military-License"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=8b74e520a8412d39b1abe6ac944dc2e2c454c66affb227569f7d363f14deb5d3
+
+pre_build() {
+	cargo update
+}
+
+post_install() {
+	vlicense LICENSE
+}
+

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

* Re: New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
@ 2023-09-05 17:51 ` classabbyamp
  2023-09-05 18:36 ` michalszmidt
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 17:51 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1707051739

Comment:
> Do you need Cargo.lock, or this approach is acceptable?

it is [recommended rust crate practice](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html) to track cargo.lock in git for applications.

Also, we prefer that package template maintainers are not the upstream maintainers unless they use Void.

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

* Re: New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
  2023-09-05 17:51 ` classabbyamp
@ 2023-09-05 18:36 ` michalszmidt
  2023-09-05 18:48 ` [PR REVIEW] " classabbyamp
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-05 18:36 UTC (permalink / raw)
  To: ml

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

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1707127819

Comment:
Ok, so required changes are: 
- add Cargo.toml now as a separate file. (With next stable release I'll include it upstream)
- last line of template should not be empty (my nasty editor had to add it on save)

_I'll amend and fore push_

Questions:
- Do you wish to change commit message to some specific?
- Alpine uses cargo-auditable, should it be used here?

Void glibc is my default desktop OS, but you decide.

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
  2023-09-05 17:51 ` classabbyamp
  2023-09-05 18:36 ` michalszmidt
@ 2023-09-05 18:48 ` classabbyamp
  2023-09-05 18:48 ` classabbyamp
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 18:48 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316267556

Comment:
```suggestion
```
no `archs=` is equivalent with "all archs"

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (2 preceding siblings ...)
  2023-09-05 18:48 ` [PR REVIEW] " classabbyamp
@ 2023-09-05 18:48 ` classabbyamp
  2023-09-05 18:48 ` classabbyamp
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 18:48 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316268437

Comment:
```suggestion
```

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (3 preceding siblings ...)
  2023-09-05 18:48 ` classabbyamp
@ 2023-09-05 18:48 ` classabbyamp
  2023-09-05 18:48 ` classabbyamp
                   ` (22 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 18:48 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316267723

Comment:
```suggestion
hostmakedepends="pkg-config"
```

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (4 preceding siblings ...)
  2023-09-05 18:48 ` classabbyamp
@ 2023-09-05 18:48 ` classabbyamp
  2023-09-05 18:48 ` classabbyamp
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 18:48 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316268288

Comment:
> add Cargo.[lock] now as a separate file. (With next stable release I'll include it upstream)

for now, it's better to just use `cargo generate-lockfile` for this

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (5 preceding siblings ...)
  2023-09-05 18:48 ` classabbyamp
@ 2023-09-05 18:48 ` classabbyamp
  2023-09-05 19:09 ` [PR PATCH] [Updated] " michalszmidt
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 18:48 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316268437

Comment:
```suggestion
```

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (6 preceding siblings ...)
  2023-09-05 18:48 ` classabbyamp
@ 2023-09-05 19:09 ` michalszmidt
  2023-09-05 19:15 ` michalszmidt
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-05 19:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.2
**Question**
Do you need Cargo.lock, or this approach is acceptable?

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- cross-compile for `ppc64-glibc` fails on make glibc, so probably native runner would succeed
- `riscv64` not tested
- not tested on void `*-musl` **but**, on alpine succeeds with `x86_64` and `aarch64`, see [here](https://cirrus-ci.com/build/6405859526311936)

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_
- [Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing

_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 7b2f7a73c975a87a3df4dbd390b94db031a3a7b4 Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.2

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..2d71bf6d4990b
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,22 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.2
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+depends="openssl"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause-No-Military-License"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=8b74e520a8412d39b1abe6ac944dc2e2c454c66affb227569f7d363f14deb5d3
+
+pre_build() {
+	cargo generate-lockfile
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (7 preceding siblings ...)
  2023-09-05 19:09 ` [PR PATCH] [Updated] " michalszmidt
@ 2023-09-05 19:15 ` michalszmidt
  2023-09-05 19:16 ` michalszmidt
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-05 19:15 UTC (permalink / raw)
  To: ml

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

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1707183089

Comment:
Done:
- "see [CONTRIBUTING.md](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes)"
- _no archs= is equivalent with "all archs"_
- _`hostmakedepends="pkg-config"`_
- _for now, it's better to just use `cargo generate-lockfile` for this_

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

* Re: New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (8 preceding siblings ...)
  2023-09-05 19:15 ` michalszmidt
@ 2023-09-05 19:16 ` michalszmidt
  2023-09-05 19:29 ` [PR REVIEW] " classabbyamp
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-05 19:16 UTC (permalink / raw)
  To: ml

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

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1707183089

Comment:
Done:
- _see [CONTRIBUTING.md](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes)_
- _no archs= is equivalent with "all archs"_
- _`hostmakedepends="pkg-config"`_
- _for now, it's better to just use `cargo generate-lockfile` for this_

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (9 preceding siblings ...)
  2023-09-05 19:16 ` michalszmidt
@ 2023-09-05 19:29 ` classabbyamp
  2023-09-05 20:18 ` michalszmidt
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 19:29 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316311738

Comment:
not needed, this should be automatically detected 

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (10 preceding siblings ...)
  2023-09-05 19:29 ` [PR REVIEW] " classabbyamp
@ 2023-09-05 20:18 ` michalszmidt
  2023-09-05 20:19 ` classabbyamp
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-05 20:18 UTC (permalink / raw)
  To: ml

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

New review comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316365225

Comment:
When removed `build_style=cargo` got:
```bash
=> ERROR: hctl-0.2.2_1: missing do_install() function!

```

When removed:
```ini
hostmakedepends="pkg-config"
makedepends="openssl-devel"
depends="openssl"
```
Got message:
`(...) The pkg-config command could not be found. (...)`

And when added pkg-config
`Package openssl was not found in the pkg-config search path.`

Are you sure?

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (11 preceding siblings ...)
  2023-09-05 20:18 ` michalszmidt
@ 2023-09-05 20:19 ` classabbyamp
  2023-09-05 23:57 ` [PR PATCH] [Updated] " michalszmidt
                   ` (14 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: classabbyamp @ 2023-09-05 20:19 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316366259

Comment:
I'm talking about depends=openssl

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (12 preceding siblings ...)
  2023-09-05 20:19 ` classabbyamp
@ 2023-09-05 23:57 ` michalszmidt
  2023-09-05 23:57 ` [PR REVIEW] " michalszmidt
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-05 23:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.2
**Question**
Do you need Cargo.lock, or this approach is acceptable?

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- cross-compile for `ppc64-glibc` fails on make glibc, so probably native runner would succeed
- `riscv64` not tested
- not tested on void `*-musl` **but**, on alpine succeeds with `x86_64` and `aarch64`, see [here](https://cirrus-ci.com/build/6405859526311936)

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_
- [Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing

_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From f9ce7ec5ca9dc51dc81e833b9fefb37450c0f77b Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.2.1

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..8690e82b62b07
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,21 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.2.1
+revision=0
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=e6b33be8376753c8099d24ebfce6ce57eab408e38e0bd7773326ff56c2823e72
+
+pre_build() {
+	cargo generate-lockfile
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR REVIEW] New package: hctl-0.2.2
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (13 preceding siblings ...)
  2023-09-05 23:57 ` [PR PATCH] [Updated] " michalszmidt
@ 2023-09-05 23:57 ` michalszmidt
  2023-09-06  0:39 ` [PR PATCH] [Updated] New package: hctl-0.2.2.1 michalszmidt
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-05 23:57 UTC (permalink / raw)
  To: ml

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

New review comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316530474

Comment:
Right, it passes without `depends=openssl`

One more thing. Alpine Maintainers [protested against](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062#note_335395) the [BSD-3-Clause-**No-Military**](https://spdx.org/licenses/BSD-3-Clause-No-Military-License.html) so I must have changed it to just [BSD-3-Clause](https://spdx.org/licenses/BSD-3-Clause.html). I rebased amended and force pushed [code for 0.2.2 commit](https://github.com/michalszmidt/hctl/commit/7897bd115bf279c08b0971509006afc375dd6fae) adding new license there but old archive is glued to release. So i made a new tag 0.2.2.1 with modified license.

So next force push contains also License change and checksum update.
Also `revision=0`as this new package.

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.2.1
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (14 preceding siblings ...)
  2023-09-05 23:57 ` [PR REVIEW] " michalszmidt
@ 2023-09-06  0:39 ` michalszmidt
  2023-09-06  0:40 ` [PR REVIEW] " michalszmidt
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-06  0:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.2.1
**Question**
Do you need Cargo.lock, or this approach is acceptable?

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- cross-compile for `ppc64-glibc` fails on make glibc, so probably native runner would succeed
- `riscv64` not tested
- not tested on void `*-musl` **but**, on alpine succeeds with `x86_64` and `aarch64`, see [here](https://cirrus-ci.com/build/6405859526311936)

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_
- [Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing

_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 65e9e2e0a43849643e035ffe03f2c29590196eef Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.2.1

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..bdd90c0ad6e9f
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,21 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.2.1
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=e6b33be8376753c8099d24ebfce6ce57eab408e38e0bd7773326ff56c2823e72
+
+pre_build() {
+	cargo generate-lockfile
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR REVIEW] New package: hctl-0.2.2.1
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (15 preceding siblings ...)
  2023-09-06  0:39 ` [PR PATCH] [Updated] New package: hctl-0.2.2.1 michalszmidt
@ 2023-09-06  0:40 ` michalszmidt
  2023-09-07 12:11 ` michalszmidt
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-06  0:40 UTC (permalink / raw)
  To: ml

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

New review comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#discussion_r1316530474

Comment:
Right, it passes without `depends=openssl`

One more thing. Alpine Maintainers [protested against](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062#note_335395) the [BSD-3-Clause-**No-Military**](https://spdx.org/licenses/BSD-3-Clause-No-Military-License.html) so I must have changed it to just [BSD-3-Clause](https://spdx.org/licenses/BSD-3-Clause.html). I rebased amended and force pushed [code for 0.2.2 commit](https://github.com/michalszmidt/hctl/commit/7897bd115bf279c08b0971509006afc375dd6fae) adding new license there but old archive is glued to release. So i made a new tag 0.2.2.1 with modified license.

So next force push contains also License change and checksum update.
Also `revision=0`as this new package.

EDIT:
Actually, on void it should be `revision=1` else xlint fails.

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

* Re: New package: hctl-0.2.2.1
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (16 preceding siblings ...)
  2023-09-06  0:40 ` [PR REVIEW] " michalszmidt
@ 2023-09-07 12:11 ` michalszmidt
  2023-10-14 11:55 ` [PR PATCH] [Updated] " michalszmidt
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-09-07 12:11 UTC (permalink / raw)
  To: ml

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

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1710040906

Comment:
@classabbyamp 
Is there anything else I need to do?

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.2.1
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (17 preceding siblings ...)
  2023-09-07 12:11 ` michalszmidt
@ 2023-10-14 11:55 ` michalszmidt
  2023-10-14 11:56 ` New package: hctl-0.2.4 michalszmidt
                   ` (8 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-10-14 11:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.2.1
**Question**
Do you need Cargo.lock, or this approach is acceptable?

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- cross-compile for `ppc64-glibc` fails on make glibc, so probably native runner would succeed
- `riscv64` not tested
- not tested on void `*-musl` **but**, on alpine succeeds with `x86_64` and `aarch64`, see [here](https://cirrus-ci.com/build/6405859526311936)

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_
- [Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing, _accepted to testing_

_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 9c8ede327913292b1b3d1988cbfea24b51ac2f3a Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.4

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..3dad55ebdc343
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,17 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.4
+revision=0
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=c78c87262c0aa247db65b59886c48bdc094f89e50d59a5c131689f2e4f8b2901
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: hctl-0.2.4
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (18 preceding siblings ...)
  2023-10-14 11:55 ` [PR PATCH] [Updated] " michalszmidt
@ 2023-10-14 11:56 ` michalszmidt
  2023-10-14 12:00 ` [PR PATCH] [Updated] " michalszmidt
                   ` (7 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-10-14 11:56 UTC (permalink / raw)
  To: ml

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

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1762852316

Comment:
Updated to 0.2.4, as promised now Cargo.lock is upstream

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.4
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (19 preceding siblings ...)
  2023-10-14 11:56 ` New package: hctl-0.2.4 michalszmidt
@ 2023-10-14 12:00 ` michalszmidt
  2023-12-06 13:47 ` michalszmidt
                   ` (6 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-10-14 12:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.4
#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- not tested on void `*-musl` **but**, on alpine succeeds with all arches including riscv64

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_

[![Packaging status](https://repology.org/badge/vertical-allrepos/hctl.svg)](https://repology.org/project/hctl/versions)

[Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing, _accepted to testing_


_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 495ad0a19cba4319371b2a2e9a8c760181dddd9f Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.4

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..97b7abd1a1443
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,17 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.4
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=c78c87262c0aa247db65b59886c48bdc094f89e50d59a5c131689f2e4f8b2901
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.4
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (20 preceding siblings ...)
  2023-10-14 12:00 ` [PR PATCH] [Updated] " michalszmidt
@ 2023-12-06 13:47 ` michalszmidt
  2023-12-06 14:39 ` michalszmidt
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-12-06 13:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.4
#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- not tested on void `*-musl` **but**, on alpine succeeds with all arches including riscv64

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_

[![Packaging status](https://repology.org/badge/vertical-allrepos/hctl.svg)](https://repology.org/project/hctl/versions)

[Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing, _accepted to testing_


_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 495ad0a19cba4319371b2a2e9a8c760181dddd9f Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.4

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..97b7abd1a1443
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,17 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.4
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=c78c87262c0aa247db65b59886c48bdc094f89e50d59a5c131689f2e4f8b2901
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.4
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (21 preceding siblings ...)
  2023-12-06 13:47 ` michalszmidt
@ 2023-12-06 14:39 ` michalszmidt
  2023-12-06 14:40 ` michalszmidt
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-12-06 14:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.4
#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- not tested on void `*-musl` **but**, on alpine succeeds with all arches including riscv64

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_

[![Packaging status](https://repology.org/badge/vertical-allrepos/hctl.svg)](https://repology.org/project/hctl/versions)

[Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing, _accepted to testing_


_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 495ad0a19cba4319371b2a2e9a8c760181dddd9f Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.4

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 0000000000000..97b7abd1a1443
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,17 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.4
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=c78c87262c0aa247db65b59886c48bdc094f89e50d59a5c131689f2e4f8b2901
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: hctl-0.2.4
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (22 preceding siblings ...)
  2023-12-06 14:39 ` michalszmidt
@ 2023-12-06 14:40 ` michalszmidt
  2024-02-13 16:21 ` New package: hctl-0.2.5 melroy89
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2023-12-06 14:40 UTC (permalink / raw)
  To: ml

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

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1843020186

Comment:
@classabbyamp 
Updated to **0.2.5** and rebased, is there anything else I can do?


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

* Re: New package: hctl-0.2.5
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (23 preceding siblings ...)
  2023-12-06 14:40 ` michalszmidt
@ 2024-02-13 16:21 ` melroy89
  2024-03-04 20:42 ` [PR PATCH] [Updated] " michalszmidt
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: melroy89 @ 2024-02-13 16:21 UTC (permalink / raw)
  To: ml

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

New comment by melroy89 on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1941938394

Comment:
LGTM now..?

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.5
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (24 preceding siblings ...)
  2024-02-13 16:21 ` New package: hctl-0.2.5 melroy89
@ 2024-03-04 20:42 ` michalszmidt
  2024-03-04 21:03 ` michalszmidt
  2024-03-04 21:05 ` New package: hctl-0.2.6 michalszmidt
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2024-03-04 20:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.5
#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- not tested on void `*-musl` **but**, on alpine succeeds with all arches including riscv64

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_

[![Packaging status](https://repology.org/badge/vertical-allrepos/hctl.svg)](https://repology.org/project/hctl/versions)

[Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing, _accepted to testing_


_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 495ad0a19cba4319371b2a2e9a8c760181dddd9f Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.4

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 00000000000000..97b7abd1a14432
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,17 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.4
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=c78c87262c0aa247db65b59886c48bdc094f89e50d59a5c131689f2e4f8b2901
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: hctl-0.2.5
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (25 preceding siblings ...)
  2024-03-04 20:42 ` [PR PATCH] [Updated] " michalszmidt
@ 2024-03-04 21:03 ` michalszmidt
  2024-03-04 21:05 ` New package: hctl-0.2.6 michalszmidt
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2024-03-04 21:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/michalszmidt/void-packages new_hctl
https://github.com/void-linux/void-packages/pull/45905

New package: hctl-0.2.5
#### Testing the changes
- I tested the changes in this PR: **YES**

_note:_
- `xlint` reports no problems
- tested with `XBPS_CHECK_PKGS=yes` and `-Q`

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-glibc
  - [x] armv7l-glibc
  - [x] armv6l-glibc
  - [x] i686-glibc

_note:_
- not tested on void `*-musl` **but**, on alpine succeeds with all arches including riscv64

_About:_
This tool allows to manage host domain blocking (hostlist generation from multiple sources, record de-duplication). It operates in parallel. Also it's optimized for memory. It's cool comparing to some nasty scripts or sed especially when you count records in millions.

_Info:_

[![Packaging status](https://repology.org/badge/vertical-allrepos/hctl.svg)](https://repology.org/project/hctl/versions)

[Alpine Linux Package request](https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51062) - uses musl, may be helpful for bug tracing, _accepted to testing_


_Disclaimer:_
I'm a hctl author.

Have a nice day!

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

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

From 495ad0a19cba4319371b2a2e9a8c760181dddd9f Mon Sep 17 00:00:00 2001
From: michalszmidt <michal.sz@disroot.org>
Date: Mon, 4 Sep 2023 13:56:40 +0000
Subject: [PATCH] New package: hctl-0.2.4

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

diff --git a/srcpkgs/hctl/template b/srcpkgs/hctl/template
new file mode 100644
index 00000000000000..97b7abd1a14432
--- /dev/null
+++ b/srcpkgs/hctl/template
@@ -0,0 +1,17 @@
+# Template file for 'hctl'
+pkgname=hctl
+version=0.2.4
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+short_desc="CLI tool to merge hostlists for dns blocker like pihole"
+maintainer="Michał Szmidt <michal.sz@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michalszmidt/hctl"
+distfiles="https://github.com/michalszmidt/hctl/archive/refs/tags/${version}.tar.gz"
+checksum=c78c87262c0aa247db65b59886c48bdc094f89e50d59a5c131689f2e4f8b2901
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: hctl-0.2.6
  2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
                   ` (26 preceding siblings ...)
  2024-03-04 21:03 ` michalszmidt
@ 2024-03-04 21:05 ` michalszmidt
  27 siblings, 0 replies; 29+ messages in thread
From: michalszmidt @ 2024-03-04 21:05 UTC (permalink / raw)
  To: ml

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

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/pull/45905#issuecomment-1977453993

Comment:
> LGTM now..?

Update to 0.2.6

- Semi-important dependencies update
- New features
- Requires rust 1.74+

Also, all desired features are highlighted, published a roadmap to 1.0.0

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

end of thread, other threads:[~2024-03-04 21:05 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04 14:20 [PR PATCH] New package: hctl-0.2.2 michalszmidt
2023-09-05 17:51 ` classabbyamp
2023-09-05 18:36 ` michalszmidt
2023-09-05 18:48 ` [PR REVIEW] " classabbyamp
2023-09-05 18:48 ` classabbyamp
2023-09-05 18:48 ` classabbyamp
2023-09-05 18:48 ` classabbyamp
2023-09-05 18:48 ` classabbyamp
2023-09-05 19:09 ` [PR PATCH] [Updated] " michalszmidt
2023-09-05 19:15 ` michalszmidt
2023-09-05 19:16 ` michalszmidt
2023-09-05 19:29 ` [PR REVIEW] " classabbyamp
2023-09-05 20:18 ` michalszmidt
2023-09-05 20:19 ` classabbyamp
2023-09-05 23:57 ` [PR PATCH] [Updated] " michalszmidt
2023-09-05 23:57 ` [PR REVIEW] " michalszmidt
2023-09-06  0:39 ` [PR PATCH] [Updated] New package: hctl-0.2.2.1 michalszmidt
2023-09-06  0:40 ` [PR REVIEW] " michalszmidt
2023-09-07 12:11 ` michalszmidt
2023-10-14 11:55 ` [PR PATCH] [Updated] " michalszmidt
2023-10-14 11:56 ` New package: hctl-0.2.4 michalszmidt
2023-10-14 12:00 ` [PR PATCH] [Updated] " michalszmidt
2023-12-06 13:47 ` michalszmidt
2023-12-06 14:39 ` michalszmidt
2023-12-06 14:40 ` michalszmidt
2024-02-13 16:21 ` New package: hctl-0.2.5 melroy89
2024-03-04 20:42 ` [PR PATCH] [Updated] " michalszmidt
2024-03-04 21:03 ` michalszmidt
2024-03-04 21:05 ` New package: hctl-0.2.6 michalszmidt

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