diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-08-26 12:35:45 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-08-26 12:38:28 -0400 |
commit | 330946ad0246c17b170143b737a0b193ad00d1f8 (patch) | |
tree | add8e10dd74d3a0df1dc6943ef4e0711823e10b2 /net-proxy | |
parent | dev-tcltk/tls: drop 1.7.16 (diff) | |
download | gentoo-330946ad0246c17b170143b737a0b193ad00d1f8.tar.gz gentoo-330946ad0246c17b170143b737a0b193ad00d1f8.tar.bz2 gentoo-330946ad0246c17b170143b737a0b193ad00d1f8.zip |
net-proxy/microsocks: Version bump to 1.0.3
Closes: https://bugs.gentoo.org/908543
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/microsocks/Manifest | 1 | ||||
-rw-r--r-- | net-proxy/microsocks/metadata.xml | 3 | ||||
-rw-r--r-- | net-proxy/microsocks/microsocks-1.0.3.ebuild | 30 |
3 files changed, 34 insertions, 0 deletions
diff --git a/net-proxy/microsocks/Manifest b/net-proxy/microsocks/Manifest index d3219881cc08..e3d585551842 100644 --- a/net-proxy/microsocks/Manifest +++ b/net-proxy/microsocks/Manifest @@ -1 +1,2 @@ DIST microsocks-1.0.2.tar.gz 9092 BLAKE2B d6038d077809057e6a8c187e15a052283ff9751e38ab3645aff09604661f872a6542cdb4dc3ef778f0401b27f4e688a1fbf280f1bac082258a827714bd8963a5 SHA512 baee86b323ae460fc0f366815317aee7ab6039488c0badd2230f0f2ad0a72e5105e505e4ffa42e0834c570ba65f589b48dd942eb1a1f51b293ed1d6a6e814e0e +DIST microsocks-1.0.3.tar.gz 9846 BLAKE2B 8e4e869914c6235c31989299131b259dff4ca9c27a514ed7a8c93ef460b3746630bd38b86da5a8b170d76a0807606c82cf7feff6c680e7e647a80e4f2cb937ef SHA512 cd2b4a689a4502e56900a87f88d09283a872fe367e4e0e1957800a32e195492d641266a1f2f85f861a135d6a207db92d2f0058785b80dfbf436d8ea805ca9322 diff --git a/net-proxy/microsocks/metadata.xml b/net-proxy/microsocks/metadata.xml index bd6443d4a375..340a1fb749f8 100644 --- a/net-proxy/microsocks/metadata.xml +++ b/net-proxy/microsocks/metadata.xml @@ -5,4 +5,7 @@ <email>chutzpah@gentoo.org</email> <name>Patrick McLean</name> </maintainer> + <upstream> + <remote-id type="github">rofl0r/microsocks</remote-id> + </upstream> </pkgmetadata> diff --git a/net-proxy/microsocks/microsocks-1.0.3.ebuild b/net-proxy/microsocks/microsocks-1.0.3.ebuild new file mode 100644 index 000000000000..6716bbd7c616 --- /dev/null +++ b/net-proxy/microsocks/microsocks-1.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Multithreaded, small, efficient SOCKS5 server" +HOMEPAGE="https://github.com/rofl0r/microsocks" +SRC_URI="https://github.com/rofl0r/microsocks/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + sed -r -e 's:/usr/local:/usr:' -i Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} +} |