mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
net-proxy/opera-proxy: new package, add 1.13.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
2
net-proxy/opera-proxy/Manifest
Normal file
2
net-proxy/opera-proxy/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST opera-proxy-1.13.1-vendor.tar.xz 84912 BLAKE2B b66101a5b1b9280659af504354ec9849b170e9e315ceed69094acb60eed5e05be7ffaba121833cdfdbbe7ec58911ced02ae3dec82408f9565eaaf8e76c1e2a0a SHA512 8314c3e4bed0fd89f2ed1ddc8588694542020b9fefe390d844c5f46ec064e07389451ada9ae6bedf6d429c0b16c6a47c55d60dd0c95d7f4e7bacb8aafa126008
|
||||||
|
DIST opera-proxy-1.13.1.tar.gz 25064 BLAKE2B 7113c4cb07bd9df9eb53baadca5f7a45e25ea73d51cdf6b96a509f07aa93b5e8144cc547e9a35208743850b2cadfc821a724c6d5af83c93aeed38a69fcad608c SHA512 8b700102aac0e07715a50df99f062e2ffc8bbbcdb643787665d871ee9b54894121a1d46d20f48162817c19e8b9d7bdfd989316d511be421257480c1ec4e2fac7
|
||||||
15
net-proxy/opera-proxy/files/opera-proxy.initd
Normal file
15
net-proxy/opera-proxy/files/opera-proxy.initd
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# shellcheck shell=sh
|
||||||
|
#
|
||||||
|
# Copyright 2026 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
supervisor="supervise-daemon"
|
||||||
|
command="/usr/bin/opera-proxy"
|
||||||
|
command_user="nobody:nobody"
|
||||||
|
pidfile="/run/opera-proxy.pid"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
use dns firewall
|
||||||
|
}
|
||||||
11
net-proxy/opera-proxy/metadata.xml
Normal file
11
net-proxy/opera-proxy/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>cyber+gentoo@sysrq.in</email>
|
||||||
|
<name>Anna</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">Snawoot/opera-proxy</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
28
net-proxy/opera-proxy/opera-proxy-1.13.1.ebuild
Normal file
28
net-proxy/opera-proxy/opera-proxy-1.13.1.ebuild
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 2026 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="Standalone Opera VPN proxies client"
|
||||||
|
HOMEPAGE="https://github.com/Snawoot/opera-proxy"
|
||||||
|
SRC_URI="https://github.com/Snawoot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
# Go dependency licenses
|
||||||
|
LICENSE+=" BSD BSD-2 MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
ego build -o opera-proxy
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin opera-proxy
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/opera-proxy.initd opera-proxy
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user