Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: kloak-0.2
@ 2022-01-08 17:26 gbeliako
  2022-01-08 17:30 ` Chocimier
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gbeliako @ 2022-01-08 17:26 UTC (permalink / raw)
  To: ml

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

There is a new 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: 3997 bytes --]

From 21188ce4a35620cf192c4bbe3f405c4751ef79ab 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..799dc109a4ce
--- /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}-master"
+#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/heads/master.zip"
+checksum=4c1a7b8bf2de6bd9b087fe838d57b38e90d3da317d380bb2f5a6302006d643b7
+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
+}

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

end of thread, other threads:[~2022-01-09 22:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 17:26 [PR PATCH] New package: kloak-0.2 gbeliako
2022-01-08 17:30 ` Chocimier
2022-01-08 20:33 ` [PR PATCH] [Updated] " gbeliako
2022-01-09  1:11 ` 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

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