upgpkg: hide-client 0.9.10-2

fixed config patch to include resolve.conf
This commit is contained in:
2024-12-03 00:18:57 +01:00
parent 8dd3554776
commit e7608b2f58
3 changed files with 20 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = hide-client
pkgdesc = Hide.me CLI VPN client for Linux
pkgver = 0.9.10
pkgrel = 1
pkgrel = 2
url = https://github.com/eventure/hide.client.linux
arch = x86_64
arch = aarch64
@@ -13,6 +13,6 @@ pkgbase = hide-client
source = hide-client-0.9.10.zip::https://github.com/eventure/hide.client.linux/archive/0.9.10.zip
source = arch-config.patch
b2sums = 7d69b5b1104ed63106e91df2248c585806c79989670068dcf5892196a146f4abe93945061f99b756623d5e4ccaa7e506b3b2254b2c8821ab2c12f750a48429b6
b2sums = bcb78baaf6682803cddd29a770a229bf9baf79c26244759db7176b65ff3b0c82fc1561066fbd81a68dcd77911bad654827ac2fba19d1ced0d33718b8a9831ed3
b2sums = 2fdf3c338bd801847c4202ba70e1e3b7652401ad8398aa56d5dcab4525aea22663de85b9f4dd09ef4faaff03378330598a5b6517406711a9d0b5cef9a6b6e6b2
pkgname = hide-client

View File

@@ -4,7 +4,7 @@
pkgname=hide-client
_name=hide.client.linux
pkgver=0.9.10
pkgrel=1
pkgrel=2
pkgdesc='Hide.me CLI VPN client for Linux'
arch=(x86_64 aarch64 armv7h)
url='https://github.com/eventure/hide.client.linux'
@@ -15,7 +15,7 @@ backup=('etc/hide.me/config')
source=("$pkgname-$pkgver.zip::$url/archive/$pkgver.zip"
arch-config.patch)
b2sums=('7d69b5b1104ed63106e91df2248c585806c79989670068dcf5892196a146f4abe93945061f99b756623d5e4ccaa7e506b3b2254b2c8821ab2c12f750a48429b6'
'bcb78baaf6682803cddd29a770a229bf9baf79c26244759db7176b65ff3b0c82fc1561066fbd81a68dcd77911bad654827ac2fba19d1ced0d33718b8a9831ed3')
'2fdf3c338bd801847c4202ba70e1e3b7652401ad8398aa56d5dcab4525aea22663de85b9f4dd09ef4faaff03378330598a5b6517406711a9d0b5cef9a6b6e6b2')
prepare() {
cd $_name-$pkgver

View File

@@ -1,3 +1,13 @@
From 0de020184f52f79e757645e3ae1bfd0af4a5013b Mon Sep 17 00:00:00 2001
From: Giovanni Harting <539@idlegandalf.com>
Date: Tue, 3 Dec 2024 00:12:30 +0100
Subject: [PATCH] archlinux config changes
---
configuration.go | 6 +++---
hide.me@.service | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/configuration.go b/configuration.go
index 06f170a..bd80daa 100644
--- a/configuration.go
@@ -21,7 +31,7 @@ index 06f170a..bd80daa 100644
\ No newline at end of file
+}
diff --git a/hide.me@.service b/hide.me@.service
index 58cea7c..db02f09 100644
index 299b9d8..1a445a8 100644
--- a/hide.me@.service
+++ b/hide.me@.service
@@ -6,10 +6,10 @@ DefaultDependencies=yes
@@ -30,11 +40,11 @@ index 58cea7c..db02f09 100644
Type=notify
-ExecStart=/opt/hide.me/hide.me $OPTIONS connect %i
-WorkingDirectory=/opt/hide.me
-ReadWritePaths=/opt/hide.me /etc /run/systemd/resolve
-ReadWritePaths=/opt/hide.me /etc -/run/systemd/resolve
-EnvironmentFile=/opt/hide.me/config
+ExecStart=/usr/bin/hide.me $OPTIONS connect %i
+WorkingDirectory=/etc/hide.me
+ReadWritePaths=/etc/hide.me -/run/systemd/resolve
+ReadWritePaths=/etc/hide.me /etc/resolv.conf -/run/systemd/resolve
+EnvironmentFile=/etc/hide.me/config
TimeoutStopSec=30
Restart=always
@@ -46,3 +56,6 @@ index 58cea7c..db02f09 100644
-WantedBy=multi-user.target
\ No newline at end of file
+WantedBy=multi-user.target
--
2.47.1