Github messages for voidlinux
 help / color / mirror / Atom feed
From: gbeliako <gbeliako@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: kloak-0.2
Date: Sat, 08 Jan 2022 21:33:07 +0100	[thread overview]
Message-ID: <20220108203307.WdW9FVavp6wr1us6Rbn1xcAAUXVOXYp1C70htT7Hiqo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34947@inbox.vuxu.org>

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

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

https://github.com/gbeliako/void-packages kloak-branch
https://github.com/void-linux/void-packages/pull/34947

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

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

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


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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, (ARCH-LIBC)
<!-- 
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 2cbe8cb5d94cd0cc4dc9199514fa58bdc676cd22 Mon Sep 17 00:00:00 2001
From: chaquen <chaquen@C.cgps.ch>
Date: Sun, 9 Jan 2022 04:24:30 +1100
Subject: [PATCH] New package: kloak-0.2

---
 srcpkgs/kloak/LICENSE             | 27 ++++++++++++++++++++++++
 srcpkgs/kloak/files/kloak/log/run |  3 +++
 srcpkgs/kloak/files/kloak/run     |  2 ++
 srcpkgs/kloak/template            | 35 +++++++++++++++++++++++++++++++
 4 files changed, 67 insertions(+)
 create mode 100644 srcpkgs/kloak/LICENSE
 create mode 100755 srcpkgs/kloak/files/kloak/log/run
 create mode 100755 srcpkgs/kloak/files/kloak/run
 create mode 100644 srcpkgs/kloak/template

diff --git a/srcpkgs/kloak/LICENSE b/srcpkgs/kloak/LICENSE
new file mode 100644
index 000000000000..43e379ad684c
--- /dev/null
+++ b/srcpkgs/kloak/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2016, Vinnie Monaco
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+
+* Neither the name of the copyright holder nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/srcpkgs/kloak/files/kloak/log/run b/srcpkgs/kloak/files/kloak/log/run
new file mode 100755
index 000000000000..9fb5b06c14b5
--- /dev/null
+++ b/srcpkgs/kloak/files/kloak/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p /var/log/kloak
+exec chpst svlogd -tt /var/log/kloak
diff --git a/srcpkgs/kloak/files/kloak/run b/srcpkgs/kloak/files/kloak/run
new file mode 100755
index 000000000000..f5ed3a6ddc71
--- /dev/null
+++ b/srcpkgs/kloak/files/kloak/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -u root kloak 2>&1
diff --git a/srcpkgs/kloak/template b/srcpkgs/kloak/template
new file mode 100644
index 000000000000..9ce22cc23cbb
--- /dev/null
+++ b/srcpkgs/kloak/template
@@ -0,0 +1,35 @@
+# Template file for 'kloak'
+pkgname=kloak
+version=0.2
+revision=1
+#archs="i686 x86_64"
+wrksrc="${pkgname}-${version}"
+#build_wrksrc=""
+#create_wrksrc=yes
+build_style=gnu-makefile
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="gcc"
+#makedepends=""
+#depends=""
+make_dirs="/etc/sv/kloak 755 root root"
+make_dirs="/etc/sv/kloak/log 755 root root"
+short_desc="Kloak is a privacy tool that makes keystroke biometrics less effective"
+maintainer="Chaquen <void@cgps.xyz>"
+license="BSD-3-Clause"
+homepage="https://github.com/vmonaco/kloak"
+distfiles="https://github.com/vmonaco/kloak/archive/refs/tags/v${version}.tar.gz"
+checksum=de81215fbc3d7bc1b485a6dd8e1d0a0bb063cc60d380c34d76c046a8c98d423a
+do_install() {
+	vbin kloak
+	#vlicense LICENSE
+	#vman 'auto-generated-man-pages/kloak.8'
+	#vman 'auto-generated-man-pages/eventcap.8'
+	vsv kloak
+}
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2022-01-08 20:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08 17:26 [PR PATCH] " gbeliako
2022-01-08 17:30 ` Chocimier
2022-01-08 20:33 ` gbeliako [this message]
2022-01-09  1:11 ` [PR PATCH] [Updated] " gbeliako
2022-01-09  1:13 ` gbeliako
2022-01-09 18:06 ` gbeliako
2022-01-09 22:43 ` gbeliako
2022-01-09 22:44 ` [PR PATCH] [Closed]: " gbeliako

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220108203307.WdW9FVavp6wr1us6Rbn1xcAAUXVOXYp1C70htT7Hiqo@z \
    --to=gbeliako@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).