Github messages for voidlinux
 help / color / mirror / Atom feed
From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: turnstile-0.1.1
Date: Tue, 14 Mar 2023 19:57:58 +0100	[thread overview]
Message-ID: <20230314185758.lnXq6IPyAyR0DD--AYq8krXdcJVhtO1qPaRKHw55GR0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42771@inbox.vuxu.org>

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

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

https://github.com/mobinmob/void-packages turnstile
https://github.com/void-linux/void-packages/pull/42771

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

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


#### 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, (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/42771.patch is attached

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

From ce4d81d7e44f422cbb5c53c8e3fd58efdcbbdcea Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 14 Mar 2023 20:05:47 +0200
Subject: [PATCH] New package: turnstile-0.1.1

---
 srcpkgs/turnstile/files/turnstiled/run        |  4 ++++
 ...3f6b7b0288a91cee3409e036bd344cefca3c8.diff | 17 ++++++++++++++
 srcpkgs/turnstile/template                    | 23 +++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100755 srcpkgs/turnstile/files/turnstiled/run
 create mode 100644 srcpkgs/turnstile/patches/2333f6b7b0288a91cee3409e036bd344cefca3c8.diff
 create mode 100644 srcpkgs/turnstile/template

diff --git a/srcpkgs/turnstile/files/turnstiled/run b/srcpkgs/turnstile/files/turnstiled/run
new file mode 100755
index 000000000000..b6d444677800
--- /dev/null
+++ b/srcpkgs/turnstile/files/turnstiled/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1 
+exec turnstiled
+
diff --git a/srcpkgs/turnstile/patches/2333f6b7b0288a91cee3409e036bd344cefca3c8.diff b/srcpkgs/turnstile/patches/2333f6b7b0288a91cee3409e036bd344cefca3c8.diff
new file mode 100644
index 000000000000..14af92c80536
--- /dev/null
+++ b/srcpkgs/turnstile/patches/2333f6b7b0288a91cee3409e036bd344cefca3c8.diff
@@ -0,0 +1,17 @@
+diff --git a/meson.build b/meson.build
+index f5e994f..8328ad5 100644
+--- a/meson.build
++++ b/meson.build
+@@ -16,7 +16,11 @@ pam_dep = dependency('pam', required: true)
+ pam_misc_dep = dependency('pam_misc', required: false)
+ rt_dep = cpp.find_library('rt', required: false)
+ 
+-scdoc_dep = dependency('scdoc', version: '>=1.10', required: get_option('man'))
++scdoc_dep = dependency(
++    'scdoc', version: '>=1.10',
++    required: get_option('man'),
++    native: true
++)
+ 
+ conf_data = configuration_data()
+ conf_data.set_quoted('RUN_PATH', get_option('rundir'))
diff --git a/srcpkgs/turnstile/template b/srcpkgs/turnstile/template
new file mode 100644
index 000000000000..33b5591cdd20
--- /dev/null
+++ b/srcpkgs/turnstile/template
@@ -0,0 +1,23 @@
+# Template file for 'turnstile'
+pkgname=turnstile
+version=0.1.1
+revision=1
+build_style=meson
+configure_args=" -Ddinit=disabled"
+hostmakedepends="pkg-config scdoc"
+makedepends="pam-devel"
+short_desc="Independent session/login tracker"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="BSD-2-Clause"
+homepage="https://github.com/chimera-linux/turnstile"
+distfiles="https://github.com/chimera-linux/turnstile/archive/refs/tags/v${version}.tar.gz"
+checksum=10512f46cf4e5f57f861e5847e09271cfb1bf9a281a99265e925a367c7b7093d
+
+pre_configure() {
+	vsed -i "s/backend = dinit/backend = none/g" turnstiled.conf.in
+}
+
+post_install() {
+	vlicense COPYING.md
+	vsv turnstiled
+}

  reply	other threads:[~2023-03-14 18:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14 18:57 [PR PATCH] " mobinmob
2023-03-14 18:57 ` mobinmob [this message]
2023-03-14 20:31 ` [PR REVIEW] " classabbyamp
2023-03-14 20:31 ` classabbyamp
2023-03-14 20:31 ` classabbyamp
2023-03-15 15:06 ` mobinmob
2023-03-15 15:07 ` mobinmob
2023-03-15 15:42 ` [PR PATCH] [Updated] " mobinmob
2023-03-15 15:44 ` [PR REVIEW] " mobinmob
2023-03-15 15:59 ` mobinmob
2023-03-15 16:01 ` mobinmob
2023-03-15 17:51 ` [PR PATCH] [Updated] " mobinmob
2023-03-15 17:52 ` mobinmob
2023-03-15 18:22 ` [PR PATCH] [Updated] " mobinmob
2023-03-15 18:23 ` mobinmob
2023-06-14  1:59 ` github-actions
2023-06-28  2:07 ` [PR PATCH] [Closed]: " github-actions

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=20230314185758.lnXq6IPyAyR0DD--AYq8krXdcJVhtO1qPaRKHw55GR0@z \
    --to=mobinmob@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).