Skip to content

Commit

Permalink
net-proxy/serenity: new package, add 1.1.0_beta3
Browse files Browse the repository at this point in the history
Signed-off-by: jinqiang zhang <[email protected]>
  • Loading branch information
peeweep committed Jan 2, 2025
1 parent 3d1f5f5 commit ad77ceb
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net-proxy/serenity/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST serenity-1.1.0_beta3-vendor.tar.xz 5522776 BLAKE2B 2e4c71c151f485f801f7f2e0595255cba714f13f246c5ba6ed9f99ebb1aa00b3ab6af2042a7bacc7a674b0521072418ca300b557574fecf31a0e4f8cdd603df2 SHA512 2e9cc6274e3effc3d079e74d7290333cd849f28cab0162f3b0d84bba4ead16e25e7be2d8037c991e357803b185d95b57694a7daca4fa3afa92779ec67489d0e9
DIST serenity-1.1.0_beta3.tar.gz 55273 BLAKE2B 12e968d0a40a962e7696eadeded4b9296211b4cbea97b741acf3a9dbd108d42427d4b8492f4f2582d747e2589b162ba85e79963c1cca9c82bb3e9b61453c9a5f SHA512 cb28db753690af3a107c942380c50655d02a16d7444f3e3cb07937e5b3496ceb1ddbf5a675c09934dcde229c6d619905aa36ff753d9e070fb76a6bf101a612b8
11 changes: 11 additions & 0 deletions net-proxy/serenity/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>jinqiang zhang</name>
</maintainer>
<upstream>
<remote-id type="github">SagerNet/serenity</remote-id>
</upstream>
</pkgmetadata>
27 changes: 27 additions & 0 deletions net-proxy/serenity/serenity-1.1.0_beta3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

_PV="${PV/_/-}"
_PV="${_PV/alpha/alpha.}"
_PV="${_PV/beta/beta.}"

DESCRIPTION="The configuration generator for sing-box"
HOMEPAGE="https://serenity.sagernet.org/ https://github.com/SagerNet/serenity"
SRC_URI="
https://github.com/SagerNet/serenity/archive/refs/tags/v${_PV}.tar.gz -> ${P}.tar.gz
https://github.com/peeweep/gentoo-go-deps/releases/download/${P}/${P}-vendor.tar.xz
"

S="${WORKDIR}/${PN}-${_PV}"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

src_install(){
dobin serenity
}

0 comments on commit ad77ceb

Please sign in to comment.