summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-12-16 13:35:00 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-12-16 13:35:00 +0100
commit9494e7d3b9e98979ab2fbf1efca0cb792f3307e4 (patch)
tree6277567eee7a78f8d004b89d8936270f27362b07
parentapp-portage/genlop: Drop old (diff)
downloadgentoo-9494e7d3b9e98979ab2fbf1efca0cb792f3307e4.tar.gz
gentoo-9494e7d3b9e98979ab2fbf1efca0cb792f3307e4.tar.bz2
gentoo-9494e7d3b9e98979ab2fbf1efca0cb792f3307e4.zip
net-dns/coredns: Version bump to 1.3.0
Signed-off-by: Manuel Rüger <mrueg@gentoo.org> Package-Manager: Portage-2.3.52, Repoman-2.3.11
-rw-r--r--net-dns/coredns/Manifest5
-rw-r--r--net-dns/coredns/coredns-1.3.0.ebuild50
-rw-r--r--net-dns/coredns/files/coredns.confd4
-rw-r--r--net-dns/coredns/files/coredns.initd19
-rw-r--r--net-dns/coredns/files/coredns.logrotated7
5 files changed, 85 insertions, 0 deletions
diff --git a/net-dns/coredns/Manifest b/net-dns/coredns/Manifest
index 5e9f7f7d09e1..f03e74288a53 100644
--- a/net-dns/coredns/Manifest
+++ b/net-dns/coredns/Manifest
@@ -1,18 +1,23 @@
DIST coredns-1.0.5.tar.gz 5016183 BLAKE2B 93bc88a1fdd792b357ac7678a75a415fd4fbfb29e6c75768e6c444cd547abe1a7166e5d3645f360790209c4fa437170cd33bcdb097242db06fd08170ab77067a SHA512 ef5b9704932b972cd38f5eb160b1c0c405943dbb19af77db7358f1eeaf7d11d73b589e6de9dfb62f75bbf37db351cd856ae0aac2b7b1a1a909b01f4895406b81
DIST coredns-1.1.1.tar.gz 5087192 BLAKE2B 21ca6975c56bace24d9c63581b37be6bfef54055332dc13171d93698003a848d775f4806d6276ca120703a11088a4afc9fc827f8b14a16e11d61320c31a1364f SHA512 53434a73c7899ed0b0b126ace4466b91d0529cad305dc10d3b83dd011c97fec969a669fc1ef38337957bfa16af404af0a088daaf62af715abf0414797de6eee0
DIST coredns-1.2.0.tar.gz 7321954 BLAKE2B 08118dff6a3dc0a9e36db53125bae426c270a96df7076de23e9d5b3931cf58347082315f1ea15e0fa3ae081dd0e0ddeeb05c33a0044454220fbef027e2ac67c9 SHA512 c4b9c18337f4b55ed90b0c48ce278042c540017b556587075d4bb74666f98a7e2317416d1105cdb92e7fc0111d4bb953473e8ab25798b67da75b9114868394e3
+DIST coredns-1.3.0.tar.gz 6503544 BLAKE2B b285743b2aa41c29f7c6e77615205ba09d856914d592e1906de36c60048ac0342416d3719b36a7dda635a0801c3a78478f6e07dc98e908b88f34410db7db5937 SHA512 d525ea7f224343f677842f17939207bf7719d81e21015c1e4ff298627d14fcdd9e8bd93833d28929ce19e782857018f45eb0be07d73926edc5ec54e3071b96b3
DIST github.com-beorn7-perks-3a771d992973f24aa725d07868b467d1ddfceafb.tar.gz 10800 BLAKE2B 5487155a4d010af70b6ea2625d10ae03b6642507902d7dc168edb5d7cf0efa1777b248d0df34ed1a2564950b12613256c1c6ce1d8c9723cc34977ed883b21c8d SHA512 c6aa5df262ab607c0a5f64372fc2fec1ddda9e5624e9d9a22cdd1bc11822c99736d88bdf5e3fc6050217b5084548417cb2926c3940e156da9397d828d59ce277
DIST github.com-beorn7-perks-4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9.tar.gz 10593 BLAKE2B 057738aefe26d3d42ba1bc0906675403512a7bab1161bc1015f6d833296778f2236cb2b99bbebd5c7db2384634fef62d2afbfc8dd59bfb1320bc6184105aa437 SHA512 ecac8d361b4695b1fc32a9aaf9e0785201d1bebbf270226540e2c3fe193ad21f4fe8aed4e01937bd1e7273ca394455ca6fd7cf29418710f279cbb8eb92939e32
DIST github.com-golang-net-b68f30494add4df6bd8ef5e82803f308e7f7c59c.tar.gz 938028 BLAKE2B 04b66e87d3664ccff451349146ca886f56d8d306a82ceac0931b6b714cfd0e0fa88221986233f38a4f1dcac09be2222e23f03ecd761ff4cddaf422dd98a79641 SHA512 2f7120e4b3d6496f6e3e01d9df1c41e81b1fb7874fae1f6dfda1928f0df2dfa1a08f2522d44ef2209a3b251f6da4fb9a67041dc22a6f8262d7ae6701ddb6cc5b
DIST github.com-golang-net-cbe0f9307d0156177f9dd5dc85da1a31abc5f2fb.tar.gz 936963 BLAKE2B 19f9996d10bd9f5aecd2bba512301519c65acd6d1c11e97617e69c4fe810f3558b05e1a3d546d3ee75c6eda96d310f63906a9217505d16d35438ca8544de4f68 SHA512 48e12282dc20ee3c614a7622ea10d986071976e3c3ea04eae01469d5e50495f9b22ccc70f0dc1ac00a5a8fda86ecb350acc6708d9467fc588a0aafc9e3641f7c
DIST github.com-golang-text-9e2b64d659da1afe07ce1c9c1dfefc09d188f21e.tar.gz 6112515 BLAKE2B 1c28dd8598c700c9c1d83ba7ba43cc97993c7261253bcac9f49a9fa0aababf05f2d522cf7ae4549d1679bf6a49ae9d0840863bcc9fa23ed1ba789904e42e853d SHA512 0b483eb86a2681264f66b320a25524690a86a56d28e97c2e91ff7cf7d8b8d531e2d5cd96cd4b842d33ea01355eadae6b6856195a0bd6c128b380b5e16fcbc286
DIST github.com-golang-text-ece95c760240037f89ebcbdd7155ac8cb52e38fa.tar.gz 6563431 BLAKE2B b889252096070044687cc804b828a9b55a444895fde87a75d1ed7de89a9953d208ef7cf54ecd501ebd8240a9f42e7bcc2c6ed09cb76256e235b94cac122abd61 SHA512 0c1814462560a3cb3e5f1b8a82a321a66baae712cd415043b2c910427ec5217f5cc65cf0d64b07c113c3e06aca9260c28a06e19f1a535fa457a3c2a67e683b07
+DIST github.com-mholt-caddy-6f580c6aa36c54c3e1c65b5c609550a8a2508e3e.tar.gz 2918590 BLAKE2B 44e50f98c48687d0d5a2155bb7f093ef7e18b6a0f0a23186ee6be28866b9e7dd79a8e0b5223f8a2250f710b2d290d7274195cdaced8b25eb6c478c7e00a2dc43 SHA512 ebf7dfa6376d9bf9f487919a630148c9870fadc23beed12b70837ed73b72852bb0373407f3e994903bba2365ce1233f79c786465f2bc1c99f64718dd8e14d844
DIST github.com-mholt-caddy-9619fe224c96d0c4a060e83badbf95b6bd69a0ac.tar.gz 2712643 BLAKE2B 96f529d158a4133c266d54530a895d5b5b5e9bb0960569e42c14b1152677fdb06be91a9ba9d25eb92cdf858827983aa247b7e162feaf9f16819d22d19b4f5fc5 SHA512 f48d4d211ba182a7b3ef4322329167d8ec01ee92010b85fe67a663780b4771445d9ce1297ed38ff572b15b0649c9fe9cb321e45bb7131755e57c66ca59fea89b
DIST github.com-mholt-caddy-b33b24fc9e9d50ce73ec386e44c316d70c47642c.tar.gz 2910394 BLAKE2B e52576f5f952dea15c43f66b6a088f29caa0fa4534727897f8a2134c90425b5b97dcf4d5a45d310be5da8b51d3704382be8c2e191b062f026f9847d2cee85eec SHA512 1e03a9a2ca4e2a1be27e9ca69a2382a1749ce31a472716b3390bbf7dffcd36ea1569b2f2982efb0fe292307bc72cfd34af1431ae993151315007065383b8eb3e
DIST github.com-miekg-dns-5364553f1ee9cddc7ac8b62dce148309c386695b.tar.gz 2517679 BLAKE2B ad17feb9fe826f84d65e6fe85f10cf6cf901bc6cf593d9e44a02edce72e399b0184a29617cb67f38b2fb0278ffa46d872c32f997c3facc2154a23cceec046bdd SHA512 d4f6709e2c20a3d639b167c0d0e7f987cd2e2d849899460ed26cc7e7f4ce682b45eb3be59a4be91e872a9eea29130f72a7de4f3c1006d99449c6f762f993b9bb
DIST github.com-miekg-dns-5a2b9fab83ff0f8bfc99684bd5f43a37abe560f1.tar.gz 2522486 BLAKE2B eb77d61519b72d059e7058fd4064edef049f523e04d84374cfc1f05b419ec258c7d38bd039e4e89287c572cf989a4cc91b1e163ea25d33db8b5b48e27b73532b SHA512 1f1e140de386daff78612cf66fa4083a42be91221b09cda8e81cd614566202b704f9ce9bbdb1afa7049eb539c4b888517f29e746aa4f8e259f04937c9d00ce5e
+DIST github.com-miekg-dns-7586a3cbe8ccfc63f82de3ab2ceeb08c9939af72.tar.gz 3886474 BLAKE2B d844c4c6c5749c7fde4712ed87f2bda7f8f048a1694ec8f22e811b4c0d1e8b2ceffba88921ecf965efa65d7290c436744ec17cda3f00ed3df3aba08bbc6be796 SHA512 63f08795063d48a15bae40c55d5edd997b1b341dead43c908fc9b9be71c7876c19f28965d9dc58b81ce48eeefcf09e3f1832141b6e2e3850e138dd727f64995d
DIST github.com-miekg-dns-d174bbf0a57b4ab555db36b0e55f692d5e8dfca8.tar.gz 2517044 BLAKE2B 7577220d999ad5e9f77e5d9f08e7cf22f390122f35994742a566c28583d491785070e13a5ba2f39a79da8f377ed421466cf914eb34647fa68106fe811a64ba99 SHA512 7a6fc4c95762e4439cd9ae880f019f041e2a67fc3b0ada24394d8388fba3a83888ad9b53a9f308955ef8c139e545a4848fecde63baa1969923bd17bad2b05078
+DIST github.com-prometheus-client_golang-505eaef017263e299324067d40ca2c48f6a2cf50.tar.gz 130114 BLAKE2B df1149ebda18c7940ea35fbe09b08be6437a8d4c4f812e3b4b088da8a374718212f0b10a153f3e04a6ffbe0bac109a92e5eca8b95814d221cd6a01d5fcfd48c5 SHA512 27a3cd10256ba6784b2f1318919ad6ce9e2a15c029c18961cd760a7569d5c683097c7407478b2ec96852163a321cda854aba18b0a73e0dda836480d05451bd62
DIST github.com-prometheus-client_golang-e69720d204a4aa3b0c65dc91208645ba0a52b9cd.tar.gz 106879 BLAKE2B 788fbe906d4e2fe4c9e61c95256d7ec8e70b038438fb9afc69dcdc402f9c52509fe2645e0b1929dd0595ea75f160013c1b71f82d5320775724a60b34d22c1877 SHA512 27fd454387c730704b2e44e40d873843a5d36894307587a8eea3ddf0604052e9ecbef36ca37cb6a2153452ff7e1c1294d8e1cbdde7b11742db74be55bd4e2b7a
DIST github.com-prometheus-client_golang-f504d69affe11ec1ccb2e5948127f86878c9fd57.tar.gz 106949 BLAKE2B b5ee911f6d478ae21a71c2827f541ecd174dee7dbf23fff58a517e739f0e16bf91451a6aabf3f3f786b62256e2c4ee8481cc3169d01819425d56a0eb802a36c9 SHA512 234ad2fa57751901ab2a0e5843bce17689166d8fc285d63f9de0da412cfe7176e8a9f96c0bf5342184985fbb564def31087255bf11766331636c3624fe85eb62
+DIST github.com-prometheus-procfs-1dc9a6cbc91aacc3e8b2d63db4d2e957a5394ac4.tar.gz 61606 BLAKE2B f67de9c0f3e8d814bed1711f0e0771c13e7d4d8d9dcc67ede3615bb80f8a8f20bbcf9ef65e46dff4a41cc587ef10ad54ffdb6909fbe83f19993422ed5714dd81 SHA512 8cabd997ac2405fe53aa507b6755aff7aa4ae2a1fdb3711abfac5d29bdd369412a17359c3d9c3ebc4945d1b6310c2fadd25201ec7b040b20e2ac5d27b56c564b
DIST github.com-prometheus-procfs-282c8707aa210456a825798969cc27edda34992a.tar.gz 54057 BLAKE2B f6b5f64f85c153a8423d83ac8f8b810a4ba1fee716a597b9030b54524932513fa92139ecc363a0e89b9198092c88477cace244a4a5cf03075ce37cecf8a503be SHA512 2fb6b399eea1bebfcf1fde8dbe6443a5906834ea4a9738230b407610ef22f8726be13cf713a354a084ed3f27bf77ea7dbe5dedf20c7a9f6efe3e36f074aaee38
DIST github.com-prometheus-procfs-780932d4fbbe0e69b84c34c20f5c8d0981e109ea.tar.gz 56873 BLAKE2B 31ae12d51b6a28c285bd5854b137d2634499d0db3c2c65c0404ca5a902ffec2e9bf689261ea51c2fe1643733f09a780c437f7a7899a5e6c3e3d100a36e07b897 SHA512 a548c6bc71456c9878cb34ad1514d92c8737e01b555e953f848cc1ae7944424b06a14a8ab0c6de4d99dbb189a0f29e2bb9ae09b5adffc327c28f5c50c2819892
diff --git a/net-dns/coredns/coredns-1.3.0.ebuild b/net-dns/coredns/coredns-1.3.0.ebuild
new file mode 100644
index 000000000000..e7bd00feea36
--- /dev/null
+++ b/net-dns/coredns/coredns-1.3.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_VENDOR=( "github.com/mholt/caddy 6f580c6aa36c54c3e1c65b5c609550a8a2508e3e"
+ "github.com/miekg/dns 7586a3cbe8ccfc63f82de3ab2ceeb08c9939af72"
+ "github.com/prometheus/client_golang 505eaef017263e299324067d40ca2c48f6a2cf50"
+ "github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb"
+ "github.com/prometheus/procfs 1dc9a6cbc91aacc3e8b2d63db4d2e957a5394ac4"
+)
+
+EGO_PN="github.com/${PN}/${PN}"
+
+inherit golang-build golang-vcs-snapshot
+
+GITCOMMIT="c8f0e94026b5f3530064dd3266eef1a80e3b0f1c"
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="A DNS server that chains middleware"
+HOMEPAGE="https://github.com/coredns/coredns"
+
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+RESTRICT="test"
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GOPATH="${S}" go build -v -ldflags="-X github.com/coredns/coredns/coremain.GitCommit=${GITCOMMIT}" || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN}
+ dobin ${PN}
+ dodoc README.md
+ doman man/*
+ popd || die
+
+ newinitd "${FILESDIR}"/coredns.initd coredns
+ newconfd "${FILESDIR}"/coredns.confd coredns
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/coredns.logrotated coredns
+}
diff --git a/net-dns/coredns/files/coredns.confd b/net-dns/coredns/files/coredns.confd
new file mode 100644
index 000000000000..3e7e56c9a2d0
--- /dev/null
+++ b/net-dns/coredns/files/coredns.confd
@@ -0,0 +1,4 @@
+###
+# CoreDNS config
+#
+command_args=""
diff --git a/net-dns/coredns/files/coredns.initd b/net-dns/coredns/files/coredns.initd
new file mode 100644
index 000000000000..bea612d7d5e0
--- /dev/null
+++ b/net-dns/coredns/files/coredns.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 2017-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="CoreDNS service"
+pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
+user=${user:-root}
+group=${group:-root}
+
+command="/usr/bin/coredns"
+command_args="${command_args}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+ --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
+ --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
+
+depend() {
+ after net
+}
diff --git a/net-dns/coredns/files/coredns.logrotated b/net-dns/coredns/files/coredns.logrotated
new file mode 100644
index 000000000000..19572fbcad9c
--- /dev/null
+++ b/net-dns/coredns/files/coredns.logrotated
@@ -0,0 +1,7 @@
+/var/log/coredns/*.log {
+ missingok
+ size 5M
+ rotate 3
+ compress
+ copytruncate
+}