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

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