From 7f3159a157e6aea6f3944feb22d2a6833736e5ce Mon Sep 17 00:00:00 2001 From: Daichi Yamamoto Date: Thu, 23 Nov 2023 09:23:38 +0900 Subject: [PATCH] net-misc/gsocket: new package, add 1.4.41, 9999 Signed-off-by: Daichi Yamamoto --- net-misc/gsocket/Manifest | 1 + net-misc/gsocket/gsocket-1.4.41.ebuild | 28 ++++++++++++++++++++++++++ net-misc/gsocket/gsocket-9999.ebuild | 28 ++++++++++++++++++++++++++ net-misc/gsocket/metadata.xml | 11 ++++++++++ 4 files changed, 68 insertions(+) create mode 100644 net-misc/gsocket/Manifest create mode 100644 net-misc/gsocket/gsocket-1.4.41.ebuild create mode 100644 net-misc/gsocket/gsocket-9999.ebuild create mode 100644 net-misc/gsocket/metadata.xml diff --git a/net-misc/gsocket/Manifest b/net-misc/gsocket/Manifest new file mode 100644 index 0000000000..d1752355cd --- /dev/null +++ b/net-misc/gsocket/Manifest @@ -0,0 +1 @@ +DIST gsocket-1.4.41.tar.gz 219668 BLAKE2B 794b74890edf3c80f26b258255a9a2a53fe634efcf203a5af5582177ce9445d79e048d631849cc00fbbda4de067a7dc7eba780c71b3f0e98f468e3ed90cd0f9f SHA512 a579b27f10d346568f203e26d57967b8c9cd3756485b1782d33278ec386fc735ce812ca1f151261f42957fce24ebdce62b67d09ab418d7187b56442765820956 diff --git a/net-misc/gsocket/gsocket-1.4.41.ebuild b/net-misc/gsocket/gsocket-1.4.41.ebuild new file mode 100644 index 0000000000..62ab97c1a2 --- /dev/null +++ b/net-misc/gsocket/gsocket-1.4.41.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Connect like there is no firewall. Securely." +HOMEPAGE="https://www.gsocket.io/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hackerschoice/gsocket.git" +else + SRC_URI="https://github.com/hackerschoice/gsocket/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" + +DEPEND="dev-libs/openssl" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eautoreconf +} diff --git a/net-misc/gsocket/gsocket-9999.ebuild b/net-misc/gsocket/gsocket-9999.ebuild new file mode 100644 index 0000000000..62ab97c1a2 --- /dev/null +++ b/net-misc/gsocket/gsocket-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Connect like there is no firewall. Securely." +HOMEPAGE="https://www.gsocket.io/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hackerschoice/gsocket.git" +else + SRC_URI="https://github.com/hackerschoice/gsocket/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" + +DEPEND="dev-libs/openssl" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eautoreconf +} diff --git a/net-misc/gsocket/metadata.xml b/net-misc/gsocket/metadata.xml new file mode 100644 index 0000000000..366b044685 --- /dev/null +++ b/net-misc/gsocket/metadata.xml @@ -0,0 +1,11 @@ + + + + + dev@dyama.net + Daichi Yamamoto + + + hackerschoice/gsocket + +