Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: wireproxy-1.0.1
@ 2022-04-01 17:01 octeep
  2022-04-01 17:10 ` [PR REVIEW] " classabbyamp
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: octeep @ 2022-04-01 17:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/octeep/void-packages master
https://github.com/void-linux/void-packages/pull/36458

New package: wireproxy-1.0.1
<!-- 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 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)`



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

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

From 9ece80bced9a5cd626b36b9393a45d5c22f60fcc Mon Sep 17 00:00:00 2001
From: octeep <octeep@pm.me>
Date: Fri, 1 Apr 2022 17:55:08 +0100
Subject: [PATCH] New package: wireproxy-1.0.1

---
 srcpkgs/wireproxy/files/wireproxy/run |  7 +++++++
 srcpkgs/wireproxy/template            | 29 +++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 srcpkgs/wireproxy/files/wireproxy/run
 create mode 100644 srcpkgs/wireproxy/template

diff --git a/srcpkgs/wireproxy/files/wireproxy/run b/srcpkgs/wireproxy/files/wireproxy/run
new file mode 100644
index 000000000000..7af2d43c9dee
--- /dev/null
+++ b/srcpkgs/wireproxy/files/wireproxy/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+export HOME=/var/lib/wireproxy
+
+exec chpst -u wireproxy wireproxy --config ${CONFFILE:-/etc/wireproxy/config}
diff --git a/srcpkgs/wireproxy/template b/srcpkgs/wireproxy/template
new file mode 100644
index 000000000000..46bcbd465eed
--- /dev/null
+++ b/srcpkgs/wireproxy/template
@@ -0,0 +1,29 @@
+# Template file for 'wireproxy'
+pkgname=wireproxy
+version=1.0.1
+revision=0
+build_style=go
+go_import_path="github.com/octeep/wireproxy"
+go_package="${go_import_path}/cmd/wireproxy"
+short_desc="Wireguard client that exposes itself as a socks5 proxy"
+maintainer="Wind Wong <octeep@pm.me>"
+license="ISC"
+homepage="https://github.com/octeep/wireproxy"
+distfiles="https://github.com/octeep/wireproxy/archive/v${version}.tar.gz"
+checksum=e21eac22ef1b12dc2d7b3e5b58dcff183af9c1547be3e55a7e6c71394f053e1e
+
+system_accounts="wireproxy"
+caddy_homedir="/var/lib/wireproxy"
+
+conf_files="/etc/wireproxy/config"
+
+make_dirs="
+	/etc/wireproxy 0700 wireproxy wireproxy
+	/var/lib/wireproxy 0700 wireproxy wireproxy"
+
+post_install() {
+	vsv wireproxy
+
+	printf "\n" > config
+	vinstall config 644 etc/wireproxy
+}

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

end of thread, other threads:[~2022-04-10  9:06 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 17:01 [PR PATCH] New package: wireproxy-1.0.1 octeep
2022-04-01 17:10 ` [PR REVIEW] " classabbyamp
2022-04-01 17:10 ` classabbyamp
2022-04-01 17:10 ` classabbyamp
2022-04-01 17:10 ` classabbyamp
2022-04-01 17:10 ` classabbyamp
2022-04-01 17:16 ` octeep
2022-04-01 17:23 ` [PR PATCH] [Updated] " octeep
2022-04-01 17:25 ` [PR REVIEW] " octeep
2022-04-01 17:28 ` classabbyamp
2022-04-01 17:28 ` classabbyamp
2022-04-01 17:28 ` classabbyamp
2022-04-01 17:28 ` classabbyamp
2022-04-01 17:29 ` classabbyamp
2022-04-01 17:38 ` [PR PATCH] [Updated] " octeep
2022-04-01 17:39 ` [PR REVIEW] " octeep
2022-04-01 17:46 ` [PR PATCH] [Updated] " octeep
2022-04-01 17:54 ` [PR REVIEW] " octeep
2022-04-01 17:59 ` [PR PATCH] [Updated] " octeep
2022-04-01 18:00 ` [PR REVIEW] " classabbyamp
2022-04-01 18:01 ` [PR PATCH] [Updated] " octeep
2022-04-01 18:02 ` [PR REVIEW] " octeep
2022-04-02  9:41 ` paper42
2022-04-02 15:35 ` [PR PATCH] [Updated] " octeep
2022-04-02 21:24 ` [PR REVIEW] " paper42
2022-04-02 23:58 ` [PR PATCH] [Updated] " octeep
2022-04-10  9:06 ` [PR PATCH] [Merged]: " paper42

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