diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-go/go-net |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-go/go-net')
-rw-r--r-- | dev-go/go-net/Manifest | 8 | ||||
-rw-r--r-- | dev-go/go-net/go-net-0_pre20150804.ebuild | 42 | ||||
-rw-r--r-- | dev-go/go-net/go-net-0_pre20160216.ebuild | 43 | ||||
-rw-r--r-- | dev-go/go-net/go-net-9999.ebuild | 43 | ||||
-rw-r--r-- | dev-go/go-net/metadata.xml | 10 |
5 files changed, 146 insertions, 0 deletions
diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest new file mode 100644 index 000000000000..0bc83976d2bc --- /dev/null +++ b/dev-go/go-net/Manifest @@ -0,0 +1,8 @@ +DIST go-net-0_pre20150804.tar.gz 539435 SHA256 77fb87becd3ddb68ff06acd3a1bf1246b390e7489b3e25a9ee9314f7457ccf60 SHA512 02a9734f8335909a15280e925b11ff03b96fbedd6e48fa5c3f869ab1a8b3062971d634f7043f92cee685c618222b147fdee915f1d5d83bd82cdde171970287e3 WHIRLPOOL a63befad593737449f393d7f4490b1680d8cba808f6163b9723b0d1d228480cdcbf9e2fb091ffc96f9121aabde1e24b06f3ddcb7b30e4bffa6e39dece5a8b3e0 +DIST go-net-0_pre20160216.tar.gz 741192 SHA256 482a17771601dc706945eee7e0c3a339d57a140dc3cb8adaa86e99ef28a8ea71 SHA512 75db9098b33ede5621fce36645ebe946fad911c815dae219d74242b15714d1b9a3d8544f5f8c90b58989cea3a46b5688d20f705cb24a7d31f201ec218e69e78f WHIRLPOOL 2a7dca88766e6ba010ed6b274a48e7db5cfc9084cbc16f46e2806d59519f91b296d64dead8485f191aff50168bad5b4f62ac670d17b30b90850a9906d85c6708 +EBUILD go-net-0_pre20150804.ebuild 1163 SHA256 468634ade2454b0215524982a757ecb628224b7ea7b171eaa931088696306cc9 SHA512 ca6adc9c8ac75dffb0022f9c89819ebe47c4ca76e84bac416a1b1d844a11f4b8f4f16e8df463bcaf3db7f81944818b76e55278a935606bb868a53d7e8c8a56ce WHIRLPOOL 48eee78b77624bd3fcd91c87493d984e58d25022065b393965088cd6e74ea0c27ef4f8f9db118b9084ebf60fc08e21fbb1dfa5040539d4240e472b26a76d4076 +EBUILD go-net-0_pre20160216.ebuild 1193 SHA256 20f5241cefad2faa7d493a17fad51ca6f939e9f9c6428e03fe489f99bbe3ecb9 SHA512 4103011ea0a480441a1d8c9ceebd82ad0b12bcf4eaadaac5bf6b7029c32fd76309cf674abd3e1a1e18bfbcd196c4c6595e3b1679070edf162c72b2d1331c0830 WHIRLPOOL c2817085fd557ce7a33ee946543601925fe9df652188201a25e70902b2d16089c3d5b74a867a3324276cd28d288503273c726e2f1daee27adae7ecbbc8aed9da +EBUILD go-net-9999.ebuild 1183 SHA256 4b4f245ff28256cd48aec88576532bb5cea849517f699f4cabad31f7904cf4c0 SHA512 351cc777c76ae9570368816fa6f855af3c01f8767dd491199c258e73127d5dbea5972b9328d017d524438d406835de8874b2e8c1b22a9e9660f86c6ec05eb4d7 WHIRLPOOL 701879bdc8e519a98acf374c8cb25110c050a7a9850d5c39842e873fd009fc9599c158c9450430838af3cc7931a122a789c1dccc9f52da0fca3c9810235d0558 +MISC ChangeLog 3389 SHA256 0384c4a00b078d280b0703b0eaaf7d0767af624ccca46e309bfa6632f37bf4d4 SHA512 77ef5a19c30beb923dad8f5ea7539bb03926c1fae47c2b8713ee099f46c72a457c96b95d20a235236b12d0bdacdb9f0e36ed688d460094b337d5de1f4b89bcb3 WHIRLPOOL 53ece1f173b99e26962042a3f152060fdbe75670dcbc9ce41b87a29dd440f1409920ff7280c384dbd0ed9bff0cb5ac036a7e661ff177d69486d2cecae5c294c1 +MISC ChangeLog-2015 1983 SHA256 fdf835474edb3877de8c357cb4a9a3c3c467e8608a70915595ab52af27c5abcc SHA512 0301a5786004ca9ee04152440512c09cc2c919ccec46554cca1b79d22024ad5ae682c9ee3c26c089f56ee43ebeb26f98d8aa99b5f7c902d233953a7080e9ee8d WHIRLPOOL 9668515bed7854e7f361a0dafbc89cc1764b57efd3ac9b6b3fd1e8957776040c366534127384c5442e855fafe81098df688c3ece7954bf265ac10be3ac8e6188 +MISC metadata.xml 301 SHA256 70067893f2b268a470acaa39057c2dcf9b99ce1d861eeba6a361c43e5013f4ca SHA512 bef6b9d68e27cb70d096a5abeac35df9248998041cb8eb370853e9044d7994b6dc3c32535dac71688d143ae18dd2ca1118fede990101094e724031b042fa71f6 WHIRLPOOL 4adc84f60cb866b0e11a09c91a52803ad72142dd42a6d35a9dd19e2e7c0925fab533d6a59e2b6f48bcadf34dfe99da6b659f5d7c30d8c2cc98e06e3e3cee4bae diff --git a/dev-go/go-net/go-net-0_pre20150804.ebuild b/dev-go/go-net/go-net-0_pre20150804.ebuild new file mode 100644 index 000000000000..44adb09a05e9 --- /dev/null +++ b/dev-go/go-net/go-net-0_pre20150804.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +EGO_PN=golang.org/x/net/... +EGO_SRC=golang.org/x/net + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="1bc0720082d79ce7ffc6ef6e523d00d46b0dee45" + SRC_URI="https://github.com/golang/net/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go supplementary network libraries" +HOMEPAGE="https://godoc.org/golang.org/x/net" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="dev-go/go-text:=" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestReadProppatch(:_\0:' \ + -i src/${EGO_SRC}/webdav/xml_test.go || die + sed -e 's:TestPingGoogle(:_\0:' \ + -e 's:TestNonPrivilegedPing(:_\0:' \ + -i src/${EGO_SRC}/icmp/ping_test.go || die +} + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} diff --git a/dev-go/go-net/go-net-0_pre20160216.ebuild b/dev-go/go-net/go-net-0_pre20160216.ebuild new file mode 100644 index 000000000000..381d5261df02 --- /dev/null +++ b/dev-go/go-net/go-net-0_pre20160216.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +EGO_PN=golang.org/x/net/... +EGO_SRC=golang.org/x/net + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64 ~arm ~x86" + EGIT_COMMIT="b6d7b1396ec874c3b00f6c84cd4301a17c56c8ed" + SRC_URI="https://github.com/golang/net/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go supplementary network libraries" +HOMEPAGE="https://godoc.org/golang.org/x/net" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="dev-go/go-crypto:= + dev-go/go-text:=" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestReadProppatch(:_\0:' \ + -i src/${EGO_SRC}/webdav/xml_test.go || die + sed -e 's:TestPingGoogle(:_\0:' \ + -e 's:TestNonPrivilegedPing(:_\0:' \ + -i src/${EGO_SRC}/icmp/ping_test.go || die +} + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} diff --git a/dev-go/go-net/go-net-9999.ebuild b/dev-go/go-net/go-net-9999.ebuild new file mode 100644 index 000000000000..bf416c447af4 --- /dev/null +++ b/dev-go/go-net/go-net-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +EGO_PN=golang.org/x/net/... +EGO_SRC=golang.org/x/net + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="b6d7b1396ec874c3b00f6c84cd4301a17c56c8ed" + SRC_URI="https://github.com/golang/net/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go supplementary network libraries" +HOMEPAGE="https://godoc.org/golang.org/x/net" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="dev-go/go-crypto:= + dev-go/go-text:=" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestReadProppatch(:_\0:' \ + -i src/${EGO_SRC}/webdav/xml_test.go || die + sed -e 's:TestPingGoogle(:_\0:' \ + -e 's:TestNonPrivilegedPing(:_\0:' \ + -i src/${EGO_SRC}/icmp/ping_test.go || die +} + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} diff --git a/dev-go/go-net/metadata.xml b/dev-go/go-net/metadata.xml new file mode 100644 index 000000000000..830cd454b15b --- /dev/null +++ b/dev-go/go-net/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">golang/net</remote-id> + </upstream> +</pkgmetadata> |