public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/coredns/
Date: Sun, 24 Mar 2024 23:21:55 +0000 (UTC)	[thread overview]
Message-ID: <1711322509.af41645f75dbc7c3825645f8e2cd2a522c4ca2c4.zmedico@gentoo> (raw)

commit:     af41645f75dbc7c3825645f8e2cd2a522c4ca2c4
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 23:21:32 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 23:21:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af41645f

net-dns/coredns: drop 1.11.1

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 net-dns/coredns/Manifest              |   2 -
 net-dns/coredns/coredns-1.11.1.ebuild | 123 ----------------------------------
 2 files changed, 125 deletions(-)

diff --git a/net-dns/coredns/Manifest b/net-dns/coredns/Manifest
index 6232e57e6d6a..1887ae958822 100644
--- a/net-dns/coredns/Manifest
+++ b/net-dns/coredns/Manifest
@@ -1,4 +1,2 @@
-DIST coredns-1.11.1-deps.tar.xz 252844888 BLAKE2B c249a6d52965ac4a6b7e06343d5155e3bc6f0528c11556fda9eb111beec1b4a71ac1b7cc8c76d0c593fedddccf3d3808a0da8145555a804b0284557280bb8dab SHA512 0a22fa25cdbe5e8686612d411b59758ab604a3cf9a92a02eed7b5487506c25dee90c113dcb479fb9da199a31ead2c818ebe856f6f7182967ba13b9852d6e785a
-DIST coredns-1.11.1.tar.gz 647236 BLAKE2B 0f2c58608a6a13b57c7df45a8f750ef5b9b6da4be4e5b593cb992141dc6d0e238121789e4ca0b430a100963c3bf08c0257506c812da776ea47a164f83b4fd0cc SHA512 f8752811e9e7913311f47ae13f35c755ac86ea240572be1c1dabc1712b6c42380c60ac385fa9573c77d6fcf4c144df2bc00574f18e8d7b70da21ed8ae4fb87cd
 DIST coredns-1.11.2-deps.tar.xz 261482588 BLAKE2B 39e30800ac1fc404dc60f859b929c4a69614b9f0be8937c3fd7b1a872ec1e163ab4f6a313ed7661d2a101318187aaa2419168c0511cf2108c43ada38db0d1e0b SHA512 91282766d10d28d564d14fb20d8d82808507e509c58b7bb1959bb03a2665a287057aa4d547bfc8cc60ff080eea807af1c57d86bf9ff000125ef0642d8557e47f
 DIST coredns-1.11.2.tar.gz 651994 BLAKE2B 1a7a272756eaf83170e242a573c8a765d6ea7b70fe422d36a87850b600a88287291aa0fe0d49462c34453d4d3c4d33f9497be409379ff8fccc87f41e2195efc1 SHA512 0e90ef4793555bd46aa5ce84cf639c015d1869b407627c69746eb948abff1920f891c45e5f00c0127f23e2c6394c07cc55c1776af840881210f90faa6ec22b40

diff --git a/net-dns/coredns/coredns-1.11.1.ebuild b/net-dns/coredns/coredns-1.11.1.ebuild
deleted file mode 100644
index 59d3b5206848..000000000000
--- a/net-dns/coredns/coredns-1.11.1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module multiprocessing systemd tmpfiles toolchain-funcs
-
-DESCRIPTION="CoreDNS is a DNS server that chains plugins"
-HOMEPAGE="https://github.com/coredns/coredns"
-
-if [[ ${PV} == 9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/coredns/coredns.git"
-else
-	SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
-	KEYWORDS="~amd64"
-fi
-
-# main
-LICENSE="Apache-2.0"
-# deps
-LICENSE+=" MIT BSD ISC MPL-2.0 BSD-2"
-
-SLOT="0"
-IUSE="test"
-# TODO: debug test failure with deps tarball
-RESTRICT="test"
-
-RDEPEND="acct-user/coredns
-	acct-group/coredns"
-
-FILECAPS=(
-	-m 755 'cap_net_bind_service=+ep' usr/bin/${PN}
-)
-
-PATCHES=(
-	"${FILESDIR}/buildopts-gitcommit-makefile-1.11.1.patch"
-)
-
-src_unpack() {
-	if [[ ${PV} == *9999* ]]; then
-		git-r3_src_unpack
-		go-module_live_vendor
-	else
-		go-module_src_unpack
-	fi
-}
-
-src_prepare() {
-	default
-	use test || sed -i -e 's|coredns: $(CHECKS)|coredns:|' Makefile
-}
-
-src_compile() {
-	# For non-live versions, prevent git operations which causes sandbox violations
-	# https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
-	[[ ${PV} != 9999* ]] && export GITCOMMIT=''
-
-	# Mimicking go-module.eclass's GOFLAGS
-	if use amd64 || use arm || use arm64 ||
-			( use ppc64 && [[ $(tc-endian) == "little" ]] ) || use s390 || use x86; then
-		local buildmode="-buildmode=pie"
-	fi
-	export BUILDOPTS="-buildvcs=false -modcacherw -v -x -p=$(makeopts_jobs) ${buildmode}"
-
-	default
-}
-
-src_install() {
-	dobin "${PN}"
-	einstalldocs
-	doman man/*
-
-	newinitd "${FILESDIR}"/coredns.initd coredns
-	newconfd "${FILESDIR}"/coredns.confd coredns
-
-	insinto /etc/coredns/
-	newins "${FILESDIR}"/Corefile.example Corefile
-
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/coredns.logrotated coredns
-
-	systemd_dounit "${FILESDIR}"/coredns.service
-	newtmpfiles "${FILESDIR}"/coredns.tmpfiles "${PN}.conf"
-}
-
-src_test() {
-	# eclass default '-x' makes tests output unreadable
-	export GOFLAGS="-v -mod=readonly"
-
-	local known_fail=(
-		"TestZoneExternalCNAMELookupWithProxy"
-		"TestMetricsSeveralBlocs"
-		"TestMetricsAvailable"
-		"TestMetricsAvailableAfterReload"
-		"TestMetricsAvailableAfterReloadAndFailedReload"
-	)
-	# concat as '|^Test1$|^Test2$|^Test3...$':
-	local known_fail_re="$(printf '|^%s$' "${known_fail[@]}")"
-	# drop '|' in the begining:
-	known_fail_re="${known_fail_re:1}"
-
-	local working_tests_re="$(
-		# get list of all test:
-		{ GOFLAGS="-mod=readonly" go test -list . ./... ||
-			die "Can't get list of tests"; } |
-		# skip "no tests" messages as well as know failures:
-		grep -v -E " |${known_fail_re}" |
-		# format a regexp:
-		sed -z 's/\n/$|^/g'
-	)"
-	# drop '|^' in the end:
-	working_tests_re="^${working_tests_re::-2}"
-
-	go test -race -run "${working_tests_re}" ./... || die "Tests failed"
-	go test -race -run "${known_fail_re}" ./... || ewarn "Known test failure"
-}
-
-pkg_postinst() {
-	fcaps_pkg_postinst
-	tmpfiles_process ${PN}.conf
-}


             reply	other threads:[~2024-03-24 23:22 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24 23:21 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-01 19:38 [gentoo-commits] repo/gentoo:master commit in: net-dns/coredns/ Zac Medico
2024-11-14  0:55 Zac Medico
2024-05-12 21:14 Zac Medico
2024-05-12 21:14 Zac Medico
2024-05-12 21:06 Zac Medico
2024-05-11 15:16 Arthur Zamarin
2024-03-25  4:20 Zac Medico
2024-03-25  3:41 Zac Medico
2024-03-15 15:37 Arthur Zamarin
2024-02-28  3:05 Zac Medico
2024-02-28  3:05 Zac Medico
2024-02-28  3:05 Zac Medico
2023-11-10 16:35 Zac Medico
2023-11-10 16:35 Zac Medico
2023-05-01 13:36 Sam James
2023-04-11  4:36 Zac Medico
2022-10-18  2:48 Zac Medico
2022-10-18  2:48 Zac Medico
2022-05-28 17:42 Zac Medico
2022-05-16  4:02 Zac Medico
2022-05-16  4:02 Zac Medico
2021-09-01 16:42 William Hubbs
2021-06-29 16:22 Mike Gilbert
2021-04-04 14:41 Zac Medico
2021-03-24  6:19 Zac Medico
2021-03-21  1:04 Zac Medico
2020-07-22  7:48 Joonas Niilola
2020-05-04 19:26 William Hubbs
2020-04-29 11:40 Joonas Niilola
2019-01-15 19:26 Manuel Rüger
2019-01-15 19:26 Manuel Rüger
2018-08-21 20:29 Manuel Rüger
2018-07-24 13:52 Manuel Rüger
2018-04-01  1:25 Manuel Rüger
2018-04-01  1:25 Manuel Rüger
2018-02-21 15:04 Manuel Rüger
2017-10-27 11:37 Manuel Rüger
2017-10-27 11:37 Manuel Rüger
2017-08-12 12:25 Manuel Rüger
2017-08-06 21:31 Manuel Rüger
2017-08-06 21:31 Manuel Rüger
2017-07-19 15:06 Manuel Rüger
2017-03-22 14:42 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1711322509.af41645f75dbc7c3825645f8e2cd2a522c4ca2c4.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox