Github messages for voidlinux
 help / color / mirror / Atom feed
From: aajonusonline <aajonusonline@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gnirehtet-2.4
Date: Sat, 04 Apr 2020 17:41:17 +0200	[thread overview]
Message-ID: <20200404154117.SQps-TBjLPZOUkva4zpelpp3eTYj01CsiT3d_99uZsE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20507@inbox.vuxu.org>

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

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

https://github.com/aajonusonline/void-packages master
https://github.com/void-linux/void-packages/pull/20507

New package: gnirehtet-2.4


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

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

From e75147b9f1202200fbb206f4bd9394e507eda0f8 Mon Sep 17 00:00:00 2001
From: Aajonus Online <aajonus.online@gmail.com>
Date: Tue, 31 Mar 2020 23:51:45 +0300
Subject: [PATCH 1/4] New package: gnirehtet-2.4

---
 srcpkgs/gnirehtet/files/gnirehtet/run |  4 ++++
 srcpkgs/gnirehtet/template            | 21 +++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 srcpkgs/gnirehtet/files/gnirehtet/run
 create mode 100644 srcpkgs/gnirehtet/template

diff --git a/srcpkgs/gnirehtet/files/gnirehtet/run b/srcpkgs/gnirehtet/files/gnirehtet/run
new file mode 100644
index 00000000000..b895dc623a5
--- /dev/null
+++ b/srcpkgs/gnirehtet/files/gnirehtet/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+gnirehtet autostart > /dev/null 2>&1 &
+[ -r conf ] && . ./conf
+exec gnirehtet relay > /dev/null 2>&1
diff --git a/srcpkgs/gnirehtet/template b/srcpkgs/gnirehtet/template
new file mode 100644
index 00000000000..e878ba8e254
--- /dev/null
+++ b/srcpkgs/gnirehtet/template
@@ -0,0 +1,21 @@
+# Template file for 'gnirehtet'
+pkgname=gnirehtet
+version=2.4
+revision=1
+build_wrksrc=relay-rust
+build_style=cargo
+makedepends="android-tools"
+short_desc="Reverse tethering internet to android phone"
+maintainer="Aajonus Online <aajonus.online@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/genymobile/gnirehtet"
+distfiles="https://github.com/genymobile/gnirehtet/archive/v${version}.tar.gz"
+checksum=@a17869899ed2b506103ff1bc054b934b98a10228a130977f44e3eaa7218c218d
+
+pre_install() {
+	configure_args=--force
+}
+
+post_install() {
+	vsv gnirehtet
+}

From 76cd0b2ce33d82b3d996bce7e195b32ddcf88357 Mon Sep 17 00:00:00 2001
From: Aajonus Online <aajonus.online@gmail.com>
Date: Wed, 1 Apr 2020 00:05:21 +0300
Subject: [PATCH 2/4] gnirehtet: simplify sv run script

---
 srcpkgs/gnirehtet/files/gnirehtet/run | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/gnirehtet/files/gnirehtet/run b/srcpkgs/gnirehtet/files/gnirehtet/run
index b895dc623a5..2358834840e 100644
--- a/srcpkgs/gnirehtet/files/gnirehtet/run
+++ b/srcpkgs/gnirehtet/files/gnirehtet/run
@@ -1,4 +1,3 @@
 #!/bin/sh
-gnirehtet autostart > /dev/null 2>&1 &
 [ -r conf ] && . ./conf
-exec gnirehtet relay > /dev/null 2>&1
+exec gnirehtet autorun > /dev/null 2>&1

From a440d0b8e682e4fb8ce5969a7d012b622a5c7a04 Mon Sep 17 00:00:00 2001
From: Jesus Christ <aajonus.online@gmail.com>
Date: Fri, 3 Apr 2020 11:59:42 +0300
Subject: [PATCH 3/4] gnirehtet: remove unnecessary flag

---
 srcpkgs/gnirehtet/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/gnirehtet/template b/srcpkgs/gnirehtet/template
index e878ba8e254..9fae2140e03 100644
--- a/srcpkgs/gnirehtet/template
+++ b/srcpkgs/gnirehtet/template
@@ -12,10 +12,6 @@ homepage="https://github.com/genymobile/gnirehtet"
 distfiles="https://github.com/genymobile/gnirehtet/archive/v${version}.tar.gz"
 checksum=@a17869899ed2b506103ff1bc054b934b98a10228a130977f44e3eaa7218c218d
 
-pre_install() {
-	configure_args=--force
-}
-
 post_install() {
 	vsv gnirehtet
 }

From bd5cee2b78092ac83b4fcac354d2de35f665b805 Mon Sep 17 00:00:00 2001
From: Aajonus Online <aajonus.online@gmail.com>
Date: Sat, 4 Apr 2020 18:40:17 +0300
Subject: [PATCH 4/4] gnirehtet: fixed checksum

---
 srcpkgs/gnirehtet/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/gnirehtet/template b/srcpkgs/gnirehtet/template
index 9fae2140e03..2b6bc81960f 100644
--- a/srcpkgs/gnirehtet/template
+++ b/srcpkgs/gnirehtet/template
@@ -8,9 +8,9 @@ makedepends="android-tools"
 short_desc="Reverse tethering internet to android phone"
 maintainer="Aajonus Online <aajonus.online@gmail.com>"
 license="Apache-2.0"
-homepage="https://github.com/genymobile/gnirehtet"
-distfiles="https://github.com/genymobile/gnirehtet/archive/v${version}.tar.gz"
-checksum=@a17869899ed2b506103ff1bc054b934b98a10228a130977f44e3eaa7218c218d
+homepage="https://github.com/genymobile/$pkgname"
+distfiles="$homepage/archive/v${version}.tar.gz"
+checksum=5ff179fca58e85473e737680a72aeb84c710082283bfe9cce4b044b3c2436c4d
 
 post_install() {
 	vsv gnirehtet

  parent reply	other threads:[~2020-04-04 15:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31 20:52 [PR PATCH] " aajonusonline
2020-03-31 21:05 ` [PR PATCH] [Updated] " aajonusonline
2020-04-03  9:00 ` aajonusonline
2020-04-04 15:41 ` aajonusonline [this message]
2020-04-04 16:26 ` aajonusonline
2020-04-04 20:26 ` aajonusonline
2020-04-05  9:08 ` aajonusonline
2020-04-05  9:12 ` aajonusonline
2020-05-07 20:37 ` [PR PATCH] [Updated] " aajonusonline
2020-05-07 20:39 ` aajonusonline
2021-11-06 22:20 ` abenson
2021-11-06 22:38 ` [PR REVIEW] " paper42
2021-11-06 22:38 ` paper42
2021-11-06 23:05 ` aajonusonline
2021-11-06 23:09 ` [PR PATCH] [Closed]: " abenson

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=20200404154117.SQps-TBjLPZOUkva4zpelpp3eTYj01CsiT3d_99uZsE@z \
    --to=aajonusonline@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).