diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-12 16:49:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-12 16:49:02 +0000 |
commit | 519e4d5d99fc43d5c9a038098c029dc4ef9d6792 (patch) | |
tree | 7e99d88a777fe8c9d3ec6310bf7eea639b0e66b4 /sys-auth | |
parent | a5332b59346f7cbf0fdbd148b54aa8a84aaf8190 (diff) |
gentoo resync : 12.11.2017
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/docker_auth/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/docker_auth/docker_auth-1.3-r2.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/sys-auth/docker_auth/Manifest b/sys-auth/docker_auth/Manifest index 29aecdb15624..86b57d5659f3 100644 --- a/sys-auth/docker_auth/Manifest +++ b/sys-auth/docker_auth/Manifest @@ -34,6 +34,7 @@ DIST github.com-grpc-grpc-go-35170916ff58e89ae03f52e778228e18207e0e02.tar.gz 315 DIST github.com-schwarmco-go-cartesian-product-c2c0aca869a6cbf51e017ce148b949d9dee09bc3.tar.gz 2433 SHA256 1ffd1dd3254758b78020c1cc035a8ba97f9984192911b9101ac8d4f1a3644c45 SHA512 a1767b2c5c6340cb2649d63beac11571ec3c9b2c98011234d5a51eb337d221ea411e517660ae966fd4f582ffef18b088d7125d29ba271bece8b51254dcac940b WHIRLPOOL 2ddcbfab394c646b268cd699bb1adcebb502e4b63f60a76a8ac289b4f82db8090ce46a3fdfd75108931f59ddaea564410b5b6df27f969a4f9c536962df71fd0a DIST github.com-syndtr-goleveldb-3c5717caf1475fd25964109a0fc640bd150fce43.tar.gz 137276 SHA256 ca10398b8db38de682325b8af51a9013380d42c4a66809c7a32eb2c26943453a SHA512 bac364a68737f5faed9ec052d47db01dc4aa0eca4ef786a43766b844ff27d8d9f87a94159a17c58745dd4ba002a9a83cd091ab2561a61d01b0a672a82002c1d4 WHIRLPOOL 7a72edccbfaed15dd7ffef987024e27cd292e62feb03318999088d9343368726d597e373203896e6eda68a1bd4d6501b44c3a9cf2705768e14e9462814f588ca EBUILD docker_auth-1.3-r1.ebuild 3746 SHA256 4965d3430b9d32ce7559045e7a4d713cd8060897327f403a7deb5fbd58cd96ab SHA512 2cea02068ed914d28a131393eedc26ffed49c90985bcaa3c43d14080413f52f818fb91091b9571ae7e8c2a3337c216fbf1fc2fa0e70a0da22bd3d91b9c7ea25b WHIRLPOOL 7c019c58e480846b9a0bb83fcba078c523f19ebb60f9fce4cc4c9178c286a0568ba65f76f31900a9cce5d496e797082b21879728a6bf751671cb5cc5ebcee1e8 +EBUILD docker_auth-1.3-r2.ebuild 3788 SHA256 b2ae4c60180d7d4f97cc5c1e1e8ff4e8752a675c8216e55894b94e9f2ab56d19 SHA512 e89dab1db49e5c196f9a18d971d1ff4220f5adc03777836b22e87aa99ed4f1b46275fa7071def353b21a73934dae1476dbf16476c0d7a054dec7a910150410c5 WHIRLPOOL a2f5ef5df7ca019ebeeccec1eaad86d027bd5338889434032a225098c732fc8f8e7d36c0f9ac99c7e267cc2657c0c73863039f074477809042ce56e124a73de6 EBUILD docker_auth-1.3.ebuild 3698 SHA256 e41a406a9100b274df9ee420db9aa9a7116da9e8631f4073afed7628866c20f2 SHA512 9282483ebb49b51dd4ca22a1090b4a41147c016c5423442d70787167de9845e5ab58e919ab217f838f364c97c6c411dd1dd0bc7e1e451b006037f3b9001e309a WHIRLPOOL 7e1f700566097bb24cc6a634ed613e58dd8f9a7ecd9adb312f271b8f600ed22a058396ec7e452d029ac6f9fd847da394c10d35fb3ab99547e1a90ce9c8df6aa6 MISC ChangeLog 787 SHA256 780953bd3e21b7ee9dc54fb274932a5a5792d6e7533cf53f53af10959d6444c9 SHA512 848faf97f797abff43904b0322e713373d983e25bff0f8c986e345a429c1ced8889de2b4478475bbdb7f7e3a878db1ff98545c9c1a896f06d8f650eea1fa0126 WHIRLPOOL 56646e2d79c6f9c3059aeea7cde431577082f9a2b0c129fb292c6ab26ba4f50cd23f8548db8d3b129bec6d5f019a920a35bd13b6916e8aca6692f1c461a1b0c5 MISC metadata.xml 329 SHA256 260246368fd36ceaf0d76b12ba5b59de6c1096bc81c00a89f0debfa8100a6ff9 SHA512 83a99677c1de5a527b72abdb632ea1ea0b0be3fedac28b6c20efb7b76999b0024e6d0a072e9b28b5458b79be14df1293b4f6a314448f5e41965ce4f2e9c65904 WHIRLPOOL a5abf828e8c1ae0723e1187948255e4773c0b10f1d4ba956196209e60b16d96f6acbd44179a5fcef2ea1caed8dd192ba5374340a6f4fbeda1559f0713c3743e6 diff --git a/sys-auth/docker_auth/docker_auth-1.3-r2.ebuild b/sys-auth/docker_auth/docker_auth-1.3-r2.ebuild new file mode 100644 index 000000000000..96b57a1bb178 --- /dev/null +++ b/sys-auth/docker_auth/docker_auth-1.3-r2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/cesanta/docker_auth" + +EGO_VENDOR=( + "github.com/dchest/uniuri 8902c56451e9b58ff940bbe5fec35d5f9c04584a" + "github.com/deckarep/golang-set fc8930a5e645572ee00bf66358ed3414f3c13b90" + "github.com/docker/distribution 0700fa570d7bcc1b3e46ee127c4489fd25f4daa3" + "github.com/docker/libtrust aabc10ec26b754e797f9028f4589c5b7bd90dc20" + "github.com/facebookgo/httpdown a3b1354551a26449fbe05f5d855937f6e7acbd71" + "github.com/facebookgo/clock 600d898af40aa09a7a93ecb9265d87b0504b6f03" + "github.com/facebookgo/stats 1b76add642e42c6ffba7211ad7b3939ce654526e" + "github.com/go-ldap/ldap 13cedcf58a1ea124045dea529a66c849d3444c8e" + "github.com/cesanta/glog 22eb27a0ae192b290b25537b8e876556fc25129c" + "github.com/schwarmco/go-cartesian-product c2c0aca869a6cbf51e017ce148b949d9dee09bc3" + "github.com/syndtr/goleveldb 3c5717caf1475fd25964109a0fc640bd150fce43" + "github.com/golang/snappy 553a641470496b2327abcac10b36396bd98e45c9" + "gopkg.in/asn1-ber.v1 4e86f4367175e39f69d9358a5f17b4dda270378d github.com/go-asn1-ber/asn1-ber" + "gopkg.in/fsnotify.v1 629574ca2a5df945712d3079857300b5e4da0236 github.com/fsnotify/fsnotify" + "gopkg.in/mgo.v2 3f83fa5005286a7fe593b055f0d7771a7dce4655 github.com/go-mgo/mgo" + "gopkg.in/yaml.v2 a3f3340b5840cee44f372bddb5880fcbc419b46a github.com/go-yaml/yaml" + "golang.org/x/crypto e1a4589e7d3ea14a3352255d04b6f1a418845e5e github.com/golang/crypto" + "golang.org/x/sys 493114f68206f85e7e333beccfabc11e98cba8dd github.com/golang/sys" + "golang.org/x/net 859d1a86bb617c0c20d154590c3c5d3fcb670b07 github.com/golang/net" + "google.golang.org/api 39c3dd417c5a443607650f18e829ad308da08dd2 github.com/google/google-api-go-client" + "google.golang.org/grpc 35170916ff58e89ae03f52e778228e18207e0e02 github.com/grpc/grpc-go" + "github.com/golang/protobuf 11b8df160996e00fd4b55cbaafb3d84ec6d50fa8" + "golang.org/x/oauth2 13449ad91cb26cb47661c1b080790392170385fd github.com/golang/oauth2" + "cloud.google.com/go bbf380d59635bf267fc8a8df03d6d261c448ee3c github.com/GoogleCloudPlatform/gcloud-golang" + "golang.org/x/text ab5ac5f9a8deb4855a60fab02bc61a4ec770bd49 github.com/golang/text" + "github.com/googleapis/gax-go 8c160ca1523d8eea3932fbaa494c8964b7724aa8" + "google.golang.org/genproto 595979c8a7bf586b2d293fb42246bf91a0b893d9 github.com/google/go-genproto" + ) + +inherit user golang-build golang-vcs-snapshot +EGIT_COMMIT="2cd3699dab4e44a239db136a52734dab25897bee" +SHORT_COMMIT=${EGIT_COMMIT:0:7} +SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + ${EGO_VENDOR_URI}" +KEYWORDS="~amd64" + +DESCRIPTION="Docker Registry 2 authentication server" +HOMEPAGE="https://github.com/cesanta/docker_auth" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +RESTRICT="test" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /dev/null ${PN} +} + +src_prepare() { + default + pushd src/${EGO_PN} + eapply "${FILESDIR}/${PN}-ldap-group-support-1.patch" + eapply "${FILESDIR}/${PN}-ldap-cacert.patch" + cp "${FILESDIR}/version.go" auth_server/version.go || die + sed -i -e "s/{version}/${PV}/" -e "s/{build_id}/${SHORT_COMMIT}/" auth_server/version.go || die + popd || die +} + +src_compile() { + pushd src/${EGO_PN}/auth_server || die + GOPATH="${WORKDIR}/${P}" go build -o "bin/auth_server" || die + popd || die +} + +src_install() { + pushd src/${EGO_PN} || die + dodoc README.md docs/Backend_MongoDB.md + insinto /usr/share/${PF} + doins -r examples + insinto /etc/docker_auth/ + newins examples/reference.yml config.yml.example + dobin auth_server/bin/auth_server + popd || die + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/docker_auth + fowners ${PN}:${PN} /var/log/docker_auth +} |