[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: e1f343000d6610b4e64abf93c880bd2b34665afc Author: Joonas Niilola gentoo org> AuthorDate: Wed May 29 05:47:00 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Wed May 29 05:47:00 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f34300 net-dns/maradns: Stabilize 3.5.0036 amd64, #933005 Signed-off-by: Joonas Niilola gentoo.org> net-dns/maradns/maradns-3.5.0036.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index e60c33eba95b..1df50eeb4595 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc x86" +KEYWORDS="amd64 ~mips ~ppc x86" IUSE="examples" BDEPEND="${PYTHON_DEPS}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 836cce2bc47a120d8c7fca70a7d774cf66f0bf98 Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 28 18:19:36 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 28 18:19:36 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836cce2b net-dns/maradns: Stabilize 3.5.0036 x86, #933005 Signed-off-by: Arthur Zamarin gentoo.org> net-dns/maradns/maradns-3.5.0036.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index de0218026790..e60c33eba95b 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~x86" +KEYWORDS="~amd64 ~mips ~ppc x86" IUSE="examples" BDEPEND="${PYTHON_DEPS}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 34c26b85ef9801e7671e9742e103d5aba32e360a Author: Eli Schwartz gmail com> AuthorDate: Sun Mar 3 06:57:59 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 3 07:03:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c26b85 net-dns/maradns: update filter-lto comment Upstream applied a patch which should fix it. I haven't tested, since it doesn't backport cleanly. The distfile randomly renames a directory -- the one with the patched code! -- from "deadwood-github" in git to "deadwood-${PV}" in the distfile, and I cannot be bothered to put up with such shenanigans and hand-edit a patch hoping to get it to apply. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-dns/maradns/maradns-3.5.0036.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index 30df46007db5..de0218026790 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -31,6 +31,8 @@ src_configure() { # -Werror=lto-type-mismatch # https://bugs.gentoo.org/861293 # https://github.com/samboy/MaraDNS/discussions/124 + # + # should be fixed in git master; try removing this on the next bump filter-lto tc-export CC
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 02a35ae88a3b84bf2381ffb4244102bdd86f1418 Author: Eli Schwartz gmail com> AuthorDate: Sun Mar 3 05:03:44 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 3 05:51:12 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a35ae8 net-dns/maradns: mark as LTO-unsafe Closes: https://bugs.gentoo.org/861293 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-dns/maradns/maradns-3.5.0022.ebuild | 7 ++- net-dns/maradns/maradns-3.5.0036.ebuild | 7 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild index 2b29f3c404a5..4492b31c472c 100644 --- a/net-dns/maradns/maradns-3.5.0022.ebuild +++ b/net-dns/maradns/maradns-3.5.0022.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit python-any-r1 systemd toolchain-funcs +inherit flag-o-matic python-any-r1 systemd toolchain-funcs DESCRIPTION="A security-aware DNS server" HOMEPAGE="https://maradns.samiam.org; @@ -33,6 +33,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/861293 + # https://github.com/samboy/MaraDNS/discussions/124 + filter-lto + tc-export CC ./configure --ipv6 || die "Failed to configure" } diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index 3ae5a00374ac..30df46007db5 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit python-any-r1 systemd toolchain-funcs +inherit flag-o-matic python-any-r1 systemd toolchain-funcs DESCRIPTION="A security-aware DNS server" HOMEPAGE="https://maradns.samiam.org; @@ -28,6 +28,11 @@ PATCHES=( ) src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/861293 + # https://github.com/samboy/MaraDNS/discussions/124 + filter-lto + tc-export CC ./configure --ipv6 || die "Failed to configure" }
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/, net-dns/maradns/
commit: 0c153250617ed0d50f1ee4ac1e7aa53bad9e87af Author: Eli Schwartz gmail com> AuthorDate: Sun Mar 3 04:43:21 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 3 05:51:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c153250 net-dns/maradns: fix totally broken patch In commit 73937e86b92dcf813bf021a83451e2ae4dbc423c, a version bump was applied, and a patch file in FILESDIR which was applied to the old version was "rebased" against the new release and applied in-place for both the old and new versions. Result: stable ebuild does not compile because patch doesn't match. Fixes: 73937e86b92dcf813bf021a83451e2ae4dbc423c Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-dns/maradns/files/maradns-3.5.0022-flags.patch | 23 +++--- ...22-flags.patch => maradns-3.5.0036-flags.patch} | 0 net-dns/maradns/maradns-3.5.0036.ebuild| 2 +- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/net-dns/maradns/files/maradns-3.5.0022-flags.patch b/net-dns/maradns/files/maradns-3.5.0022-flags.patch index 923417538778..9f01795fd2bb 100644 --- a/net-dns/maradns/files/maradns-3.5.0022-flags.patch +++ b/net-dns/maradns/files/maradns-3.5.0022-flags.patch @@ -1,15 +1,23 @@ -Rebased on 2024-01-20, version 3.5.0036 - From 15470045421448a7a6813e2a4a96e18bba3b0aa4 Mon Sep 17 00:00:00 2001 From: Victor Kustov Date: Wed, 27 Jul 2022 21:28:31 +0300 Subject: [PATCH] 2nd +--- + build/Makefile.linux | 32 + 1 file changed, 16 insertions(+), 16 deletions(-) + diff --git a/build/Makefile.linux b/build/Makefile.linux -index 9d8117e..22a7518 100644 +index 965c7fb..572dccc 100644 --- a/build/Makefile.linux +++ b/build/Makefile.linux -@@ -29,29 +29,27 @@ Q="DEFINES=-DSELECT_PROBLEM" +@@ -24,32 +24,32 @@ EXECS=server/maradns + # end the Solaris section + # Non-Solaris version of "M" + V="VERSION=$(VERSION)" +-Q="DEFINES=-DSELECT_PROBLEM" ++Q="$(LDFLAGS) DEFINES=-DSELECT_PROBLEM" + # Debug FLAGS = -O2 -Wall -DSELECT_PROBLEM @@ -26,9 +34,7 @@ index 9d8117e..22a7518 100644 - make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ - cd ../tools ; make $(M) ; \ - cd ../deadwood-*/src/ ; make FLAGS=-O2 ; \ -- cd ../tools/blockhash ; make CFLAGS=-O2 ; \ -- cd ../../../coLunacyDNS/ ; make ; \ -- cd ../tcp ; make $(M) $(V) ; cat ../00README.FIRST +- cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST + cd libs ; $(MAKE) $(M) ; cd ../dns ; $(MAKE) $(M) ; \ + cd ../rng ; $(MAKE) $(M) ; cd ../parse ; $(MAKE) $(M) ; \ + cd ../qual ; $(MAKE) $(M) ; cd ../server ; \ @@ -54,3 +60,6 @@ index 9d8117e..22a7518 100644 clean: rm -f $(OBJECTS) core $(EXECS) ; \ +-- +2.35.1 + diff --git a/net-dns/maradns/files/maradns-3.5.0022-flags.patch b/net-dns/maradns/files/maradns-3.5.0036-flags.patch similarity index 100% copy from net-dns/maradns/files/maradns-3.5.0022-flags.patch copy to net-dns/maradns/files/maradns-3.5.0036-flags.patch diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index 0eea6659b14e..fc926f30ad71 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -25,7 +25,7 @@ DEPEND=" RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-3.5.0022-flags.patch + "${FILESDIR}"/${PN}-3.5.0036-flags.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 390f613a5342052b7c01a1aa4558048ef38685ce Author: Eli Schwartz gmail com> AuthorDate: Sun Mar 3 04:45:17 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 3 05:51:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390f613a net-dns/maradns: don't require acct-* packages to compile With --buildpkgonly the account packages aren't needed, so don't force them to be installed yet. An RDEPEND is fine. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-dns/maradns/maradns-3.5.0022.ebuild | 5 ++--- net-dns/maradns/maradns-3.5.0036.ebuild | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild index 85670bec1b68..2b29f3c404a5 100644 --- a/net-dns/maradns/maradns-3.5.0022.ebuild +++ b/net-dns/maradns/maradns-3.5.0022.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,11 +18,10 @@ IUSE="examples" BDEPEND="${PYTHON_DEPS} dev-lang/perl" -DEPEND=" +RDEPEND=" acct-group/maradns acct-user/duende acct-user/maradns" -RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-flags.patch diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index fc926f30ad71..3ae5a00374ac 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -18,11 +18,10 @@ IUSE="examples" BDEPEND="${PYTHON_DEPS} dev-lang/perl" -DEPEND=" +RDEPEND=" acct-group/maradns acct-user/duende acct-user/maradns" -RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${PN}-3.5.0036-flags.patch
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: b0d5df754441cf3aca78871d960179af6887c512 Author: Joonas Niilola gentoo org> AuthorDate: Fri Feb 9 13:29:57 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Feb 9 13:47:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d5df75 net-dns/maradns: enable py3.12 Signed-off-by: Joonas Niilola gentoo.org> net-dns/maradns/maradns-3.5.0036.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index e97fe9dd8692..0eea6659b14e 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit python-any-r1 systemd toolchain-funcs DESCRIPTION="A security-aware DNS server"
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/, net-dns/maradns/files/
commit: 73937e86b92dcf813bf021a83451e2ae4dbc423c Author: Christopher Fore posteo net> AuthorDate: Sat Jan 20 16:34:59 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Feb 9 13:47:34 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73937e86 net-dns/maradns: add 3.5.0036, security bump Rebased patch, removed fix_shebang due to the tool no longer being present. Bug: https://bugs.gentoo.org/906113 Signed-off-by: Christopher Fore posteo.net> Closes: https://github.com/gentoo/gentoo/pull/34684 Signed-off-by: Joonas Niilola gentoo.org> net-dns/maradns/Manifest | 1 + net-dns/maradns/files/maradns-3.5.0022-flags.patch | 23 ++ net-dns/maradns/maradns-3.5.0036.ebuild| 89 ++ 3 files changed, 97 insertions(+), 16 deletions(-) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index c1df5641ee34..4c2bb6642f78 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1 +1,2 @@ DIST maradns-3.5.0022.tar.xz 7375408 BLAKE2B d79fd800099f41e6395537b8a9d945820cd295c9a3be8bec0850b8c85df65a607b07c3a0949a6ed058d1155514836d5a72a3ab0512a4369a979b021c80159908 SHA512 0c4df5aac0a979a74f811c9ccd30e2708f6b21816d9d70b88bf31ac4a65175b46c3a53adf439e098c57aa9b79250c26a38c8cdf26e0ee52637092a184d852076 +DIST maradns-3.5.0036.tar.xz 9192932 BLAKE2B 43d2f84b937a176b794aff68fc4fe73b5aada96df27ebf16dde04be1b7883ff5a95a07b5ce37dc65b305979e1b4379d5b540e59f917bbf1518d4f909bab717a1 SHA512 0d8248ad858064aec162a1d4bbdcf48eca39e07403b243a318c6512e4fee57429c6aa216e434cb0cb6ae86182474ea9069dc8f69622e9eadb339cfa3a4dc554e diff --git a/net-dns/maradns/files/maradns-3.5.0022-flags.patch b/net-dns/maradns/files/maradns-3.5.0022-flags.patch index 9f01795fd2bb..923417538778 100644 --- a/net-dns/maradns/files/maradns-3.5.0022-flags.patch +++ b/net-dns/maradns/files/maradns-3.5.0022-flags.patch @@ -1,23 +1,15 @@ +Rebased on 2024-01-20, version 3.5.0036 + From 15470045421448a7a6813e2a4a96e18bba3b0aa4 Mon Sep 17 00:00:00 2001 From: Victor Kustov Date: Wed, 27 Jul 2022 21:28:31 +0300 Subject: [PATCH] 2nd - build/Makefile.linux | 32 - 1 file changed, 16 insertions(+), 16 deletions(-) - diff --git a/build/Makefile.linux b/build/Makefile.linux -index 965c7fb..572dccc 100644 +index 9d8117e..22a7518 100644 --- a/build/Makefile.linux +++ b/build/Makefile.linux -@@ -24,32 +24,32 @@ EXECS=server/maradns - # end the Solaris section - # Non-Solaris version of "M" - V="VERSION=$(VERSION)" --Q="DEFINES=-DSELECT_PROBLEM" -+Q="$(LDFLAGS) DEFINES=-DSELECT_PROBLEM" - +@@ -29,29 +29,27 @@ Q="DEFINES=-DSELECT_PROBLEM" # Debug FLAGS = -O2 -Wall -DSELECT_PROBLEM @@ -34,7 +26,9 @@ index 965c7fb..572dccc 100644 - make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ - cd ../tools ; make $(M) ; \ - cd ../deadwood-*/src/ ; make FLAGS=-O2 ; \ -- cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST +- cd ../tools/blockhash ; make CFLAGS=-O2 ; \ +- cd ../../../coLunacyDNS/ ; make ; \ +- cd ../tcp ; make $(M) $(V) ; cat ../00README.FIRST + cd libs ; $(MAKE) $(M) ; cd ../dns ; $(MAKE) $(M) ; \ + cd ../rng ; $(MAKE) $(M) ; cd ../parse ; $(MAKE) $(M) ; \ + cd ../qual ; $(MAKE) $(M) ; cd ../server ; \ @@ -60,6 +54,3 @@ index 965c7fb..572dccc 100644 clean: rm -f $(OBJECTS) core $(EXECS) ; \ --- -2.35.1 - diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild new file mode 100644 index ..e97fe9dd8692 --- /dev/null +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit python-any-r1 systemd toolchain-funcs + +DESCRIPTION="A security-aware DNS server" +HOMEPAGE="https://maradns.samiam.org; +SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; + +# The GPL-2 covers the init script, bug 426018. +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +IUSE="examples" + +BDEPEND="${PYTHON_DEPS} + dev-lang/perl" +DEPEND=" + acct-group/maradns + acct-user/duende + acct-user/maradns" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.5.0022-flags.patch +) + +src_configure() { + tc-export CC + ./configure --ipv6 || die "Failed to configure" +} + +src_install() { + # Install the MaraDNS and Deadwood binaries + dosbin server/maradns + dosbin tcp/zoneserver + dosbin deadwood-${PV}/src/Deadwood + dobin tcp/{getzone,fetchzone} + dobin tools/{askmara,askmara-tcp,duende} + + # MaraDNS docs, manpages, misc + docompress -x /usr/share/doc/${PF}/maradns.gpg.key + dodoc {CHANGELOG.TXT,COPYING,maradns.gpg.key} + dodoc doc/en/{QuickStart,faq.*,*.md,README} + dodoc -r
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 3921ad7345564ddc5417ed76b075ad040b79f853 Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 5 17:38:03 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 5 17:38:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3921ad73 net-dns/maradns: enable py3.11 Closes: https://bugs.gentoo.org/897086 Signed-off-by: Arthur Zamarin gentoo.org> net-dns/maradns/maradns-3.5.0022.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild index 1c324d57a770..fa6f48e32d81 100644 --- a/net-dns/maradns/maradns-3.5.0022.ebuild +++ b/net-dns/maradns/maradns-3.5.0022.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit python-any-r1 systemd toolchain-funcs DESCRIPTION="A security-aware DNS server"
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 2566fa5161c79c8108d43f0999d4a790f4aecf38 Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 5 17:40:16 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 5 17:40:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2566fa51 net-dns/maradns: remove IUSE=ipv6 Small file use flag, no affect on dependencies, should be just always active. Signed-off-by: Arthur Zamarin gentoo.org> net-dns/maradns/maradns-3.5.0022.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild index fa6f48e32d81..85670bec1b68 100644 --- a/net-dns/maradns/maradns-3.5.0022.ebuild +++ b/net-dns/maradns/maradns-3.5.0022.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; LICENSE="BSD-2 GPL-2" SLOT="0" KEYWORDS="amd64 ~mips ~ppc x86" -IUSE="examples ipv6" +IUSE="examples" BDEPEND="${PYTHON_DEPS} dev-lang/perl" @@ -35,8 +35,7 @@ src_prepare() { src_configure() { tc-export CC - ./configure \ - $(usex ipv6 --ipv6 "") || die "Failed to configure" + ./configure --ipv6 || die "Failed to configure" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 6af6399f6c73f07a46e48ddee271fc35d237cf5b Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 18 18:49:05 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 18 18:49:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af6399f net-dns/maradns: Stabilize 3.5.0022 amd64, #886755 Signed-off-by: Arthur Zamarin gentoo.org> net-dns/maradns/maradns-3.5.0022.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild index c5ed38669867..c9e4739db69b 100644 --- a/net-dns/maradns/maradns-3.5.0022.ebuild +++ b/net-dns/maradns/maradns-3.5.0022.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc x86" +KEYWORDS="amd64 ~mips ~ppc x86" IUSE="examples ipv6" BDEPEND="${PYTHON_DEPS}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: c0e585c61238a25a06096044e6e28f2e27d70fbe Author: Sam James gentoo org> AuthorDate: Sun Dec 18 12:16:11 2022 + Commit: Sam James gentoo org> CommitDate: Sun Dec 18 12:16:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e585c6 net-dns/maradns: Stabilize 3.5.0022 x86, #886755 Signed-off-by: Sam James gentoo.org> net-dns/maradns/maradns-3.5.0022.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild index d956f23b3b13..c5ed38669867 100644 --- a/net-dns/maradns/maradns-3.5.0022.ebuild +++ b/net-dns/maradns/maradns-3.5.0022.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~x86" +KEYWORDS="~amd64 ~mips ~ppc x86" IUSE="examples ipv6" BDEPEND="${PYTHON_DEPS}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/
commit: 2e4ebfb0c5c6c4068fb007e2106813087bb7d9e8 Author: Victor Kustov yandex ru> AuthorDate: Wed Aug 24 17:24:20 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Sep 9 06:20:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e4ebfb0 net-dns/maradns: fix CFLAGS for Deadwood Closes: https://bugs.gentoo.org/865643 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Victor Kustov yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/27003 Signed-off-by: Joonas Niilola gentoo.org> net-dns/maradns/files/maradns-3.5.0022-flags.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-dns/maradns/files/maradns-3.5.0022-flags.patch b/net-dns/maradns/files/maradns-3.5.0022-flags.patch index 9f6b81addfca..9f01795fd2bb 100644 --- a/net-dns/maradns/files/maradns-3.5.0022-flags.patch +++ b/net-dns/maradns/files/maradns-3.5.0022-flags.patch @@ -40,14 +40,14 @@ index 965c7fb..572dccc 100644 + cd ../qual ; $(MAKE) $(M) ; cd ../server ; \ + $(MAKE) $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ + cd ../tools ; $(MAKE) $(M) ; \ -+ cd ../deadwood-*/src/ ; $(MAKE) FLAGS=-O2 ; \ ++ cd ../deadwood-*/src/ ; $(MAKE) $(M) ; \ + cd ../../tcp ; $(MAKE) $(M) $(V) ; cat ../00README.FIRST debug: - cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \ - cd ../dns ; make $(D) ; cd ../rng ; make $(D) ; \ - cd ../parse ; make $(D) ; cd ../qual ; make $(D) ; \ -+ cd libs ; $(MAKE) $(D) DEBUG="-DDEBUG -DTHREADS" ; \ ++ cd libs ; $(MAKE) $(D) ; \ + cd ../dns ; $(MAKE) $(D) ; cd ../rng ; $(MAKE) $(D) ; \ + cd ../parse ; $(MAKE) $(D) ; cd ../qual ; $(MAKE) $(D) ; \ cd ../server ; \
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/, net-dns/maradns/files/
commit: 5b43506ed9b31d9388b82b16375fa381f21aabde Author: Victor Kustov yandex ru> AuthorDate: Wed Jul 27 18:37:32 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Aug 17 16:17:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b43506e net-dns/maradns: bump version to 3.5.0022 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Victor Kustov yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/26626 Signed-off-by: Joonas Niilola gentoo.org> net-dns/maradns/Manifest | 1 + net-dns/maradns/files/maradns-3.5.0022-flags.patch | 65 +++ net-dns/maradns/maradns-3.5.0022.ebuild| 96 ++ 3 files changed, 162 insertions(+) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index 0483ddcd84fc..5cfeb8c3d3e1 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1,2 +1,3 @@ DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0af92301e157216b4a5bbd2ed74ceb829ef4d11cd08048c7a685a09cdd4178cf3fc4e7b2465820d26d3a5c1b96f4a5e SHA512 2e7008ff6217929008292dde60d96eb2ec0499a170e1b5bda5fcfb27300d2ce6cecd8b3e2a2d4b09ff32b803f9f435230378e6b2e41e7b63c42653d8c931151d DIST maradns-3.5.0020.tar.xz 7154452 BLAKE2B 4d193c06620332b90f4a004e787f9cbe61cd48adcee1dd667ecf0383c0fb81f5b7cae40ee953f077b2ccf060d7429863f741cf942c34c862d6c56092bc40600b SHA512 3478ccdc82d5be45826072f91c1b00c491f21f69bcce169cfeb3dfdd00e0012a9def884d711daa41ea18dce52e069dbb4c31e1e37ecda418565b5d8d6a0ea4d4 +DIST maradns-3.5.0022.tar.xz 7375408 BLAKE2B d79fd800099f41e6395537b8a9d945820cd295c9a3be8bec0850b8c85df65a607b07c3a0949a6ed058d1155514836d5a72a3ab0512a4369a979b021c80159908 SHA512 0c4df5aac0a979a74f811c9ccd30e2708f6b21816d9d70b88bf31ac4a65175b46c3a53adf439e098c57aa9b79250c26a38c8cdf26e0ee52637092a184d852076 diff --git a/net-dns/maradns/files/maradns-3.5.0022-flags.patch b/net-dns/maradns/files/maradns-3.5.0022-flags.patch new file mode 100644 index ..9f6b81addfca --- /dev/null +++ b/net-dns/maradns/files/maradns-3.5.0022-flags.patch @@ -0,0 +1,65 @@ +From 15470045421448a7a6813e2a4a96e18bba3b0aa4 Mon Sep 17 00:00:00 2001 +From: Victor Kustov +Date: Wed, 27 Jul 2022 21:28:31 +0300 +Subject: [PATCH] 2nd + +--- + build/Makefile.linux | 32 + 1 file changed, 16 insertions(+), 16 deletions(-) + +diff --git a/build/Makefile.linux b/build/Makefile.linux +index 965c7fb..572dccc 100644 +--- a/build/Makefile.linux b/build/Makefile.linux +@@ -24,32 +24,32 @@ EXECS=server/maradns + # end the Solaris section + # Non-Solaris version of "M" + V="VERSION=$(VERSION)" +-Q="DEFINES=-DSELECT_PROBLEM" ++Q="$(LDFLAGS) DEFINES=-DSELECT_PROBLEM" + + # Debug + + FLAGS = -O2 -Wall -DSELECT_PROBLEM +-M="CC=$(CC) $(FLAGS)" +-D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS" ++M="CC=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" ++D="CC=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -DDEBUG -DTHREADS" + #FLAGS = -g + + all: +- cd libs ; make $(M) ; cd ../dns ; make $(M) ; \ +- cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \ +- cd ../qual ; make $(M) ; cd ../server ; \ +- make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ +- cd ../tools ; make $(M) ; \ +- cd ../deadwood-*/src/ ; make FLAGS=-O2 ; \ +- cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST ++ cd libs ; $(MAKE) $(M) ; cd ../dns ; $(MAKE) $(M) ; \ ++ cd ../rng ; $(MAKE) $(M) ; cd ../parse ; $(MAKE) $(M) ; \ ++ cd ../qual ; $(MAKE) $(M) ; cd ../server ; \ ++ $(MAKE) $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ ++ cd ../tools ; $(MAKE) $(M) ; \ ++ cd ../deadwood-*/src/ ; $(MAKE) FLAGS=-O2 ; \ ++ cd ../../tcp ; $(MAKE) $(M) $(V) ; cat ../00README.FIRST + + debug: +- cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \ +- cd ../dns ; make $(D) ; cd ../rng ; make $(D) ; \ +- cd ../parse ; make $(D) ; cd ../qual ; make $(D) ; \ ++ cd libs ; $(MAKE) $(D) DEBUG="-DDEBUG -DTHREADS" ; \ ++ cd ../dns ; $(MAKE) $(D) ; cd ../rng ; $(MAKE) $(D) ; \ ++ cd ../parse ; $(MAKE) $(D) ; cd ../qual ; $(MAKE) $(D) ; \ + cd ../server ; \ +- make $(D) $(Q) $(V) COMPILED=\"$(COMPILED_DEBUG)\" ; \ +- cd ../tools ; make $(D) ; \ +- cd ../tcp ; make $(D) $(V) ; cat ../00README.FIRST ++ $(MAKE) $(D) $(Q) $(V) COMPILED=\"$(COMPILED_DEBUG)\" ; \ ++ cd ../tools ; $(MAKE) $(D) ; \ ++ cd ../tcp ; $(MAKE) $(D) $(V) ; cat ../00README.FIRST + + clean: + rm -f $(OBJECTS) core $(EXECS) ; \ +-- +2.35.1 + diff --git a/net-dns/maradns/maradns-3.5.0022.ebuild b/net-dns/maradns/maradns-3.5.0022.ebuild new file mode 100644 index ..d956f23b3b13 --- /dev/null +++ b/net-dns/maradns/maradns-3.5.0022.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: d6d959936d037a0a860f3e8dce5c665f583d755d Author: Piotr Karbowski gentoo org> AuthorDate: Sat Jul 2 20:54:12 2022 + Commit: Piotr Karbowski gentoo org> CommitDate: Sat Jul 2 20:54:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d95993 net-dns/maradns: maintainer-needed Signed-off-by: Piotr Karbowski gentoo.org> net-dns/maradns/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net-dns/maradns/metadata.xml b/net-dns/maradns/metadata.xml index cef4084d070a..fb814e265bc9 100644 --- a/net-dns/maradns/metadata.xml +++ b/net-dns/maradns/metadata.xml @@ -1,10 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - -slashbe...@gentoo.org -Piotr Karbowski - + samboy/MaraDNS
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 9411371abd86425ff06780f612a4278a773c591c Author: Sam James gentoo org> AuthorDate: Tue Jun 7 05:21:59 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 7 05:21:59 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9411371a net-dns/maradns: Stabilize 3.5.0020 x86, #850214 Signed-off-by: Sam James gentoo.org> net-dns/maradns/maradns-3.5.0020.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0020.ebuild b/net-dns/maradns/maradns-3.5.0020.ebuild index 50d6715916b4..baedba8f5473 100644 --- a/net-dns/maradns/maradns-3.5.0020.ebuild +++ b/net-dns/maradns/maradns-3.5.0020.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="amd64 ~mips ~ppc ~x86" +KEYWORDS="amd64 ~mips ~ppc x86" IUSE="examples ipv6" BDEPEND="${PYTHON_DEPS}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: eaddc99cdf9edd2fc8a03df9909dce4c48bcd3a6 Author: Sam James gentoo org> AuthorDate: Tue Jun 7 05:21:14 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 7 05:21:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaddc99c net-dns/maradns: Stabilize 3.5.0020 amd64, #850214 Signed-off-by: Sam James gentoo.org> net-dns/maradns/maradns-3.5.0020.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-dns/maradns/maradns-3.5.0020.ebuild b/net-dns/maradns/maradns-3.5.0020.ebuild index 6bf474750b66..50d6715916b4 100644 --- a/net-dns/maradns/maradns-3.5.0020.ebuild +++ b/net-dns/maradns/maradns-3.5.0020.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~x86" +KEYWORDS="amd64 ~mips ~ppc ~x86" IUSE="examples ipv6" BDEPEND="${PYTHON_DEPS}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: f956b17e661ef4224f49af1bda151becf92c6365 Author: Jonas Stein gentoo org> AuthorDate: Sun Apr 10 21:09:41 2022 + Commit: Jonas Stein gentoo org> CommitDate: Sun Apr 10 21:10:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f956b17e net-dns/maradns: Maintainer retired Proxied maintainer retired due to inactivity. Bug: https://bugs.gentoo.org/638830 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jonas Stein gentoo.org> net-dns/maradns/metadata.xml | 8 1 file changed, 8 deletions(-) diff --git a/net-dns/maradns/metadata.xml b/net-dns/maradns/metadata.xml index 650d4915b585..cef4084d070a 100644 --- a/net-dns/maradns/metadata.xml +++ b/net-dns/maradns/metadata.xml @@ -5,14 +5,6 @@ slashbe...@gentoo.org Piotr Karbowski - -ktr...@yandex.ru -Victor Kustov - - -proxy-ma...@gentoo.org -Proxy Maintainers - samboy/MaraDNS
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/, net-dns/maradns/files/
commit: 4fbf9f4effb630645e5d64809a24e376099f2c30 Author: ktr...@yandex.ru yandex ru> AuthorDate: Sun Jun 6 18:57:20 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 7 05:19:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fbf9f4e net-dns/maradns: version bump to 3.5.0020 and fixes - fix ipv6/noipv6 building Deadwood - still fixes compile flags - small change in doc's installing Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Victor Kustov yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/21060 Signed-off-by: Joonas Niilola gentoo.org> net-dns/maradns/Manifest | 1 + .../files/maradns-3.5.0020-flags-ipv6.patch| 113 + net-dns/maradns/maradns-3.5.0020.ebuild| 96 + 3 files changed, 210 insertions(+) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index 3dc055a4f47..0483ddcd84f 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1 +1,2 @@ DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0af92301e157216b4a5bbd2ed74ceb829ef4d11cd08048c7a685a09cdd4178cf3fc4e7b2465820d26d3a5c1b96f4a5e SHA512 2e7008ff6217929008292dde60d96eb2ec0499a170e1b5bda5fcfb27300d2ce6cecd8b3e2a2d4b09ff32b803f9f435230378e6b2e41e7b63c42653d8c931151d +DIST maradns-3.5.0020.tar.xz 7154452 BLAKE2B 4d193c06620332b90f4a004e787f9cbe61cd48adcee1dd667ecf0383c0fb81f5b7cae40ee953f077b2ccf060d7429863f741cf942c34c862d6c56092bc40600b SHA512 3478ccdc82d5be45826072f91c1b00c491f21f69bcce169cfeb3dfdd00e0012a9def884d711daa41ea18dce52e069dbb4c31e1e37ecda418565b5d8d6a0ea4d4 diff --git a/net-dns/maradns/files/maradns-3.5.0020-flags-ipv6.patch b/net-dns/maradns/files/maradns-3.5.0020-flags-ipv6.patch new file mode 100644 index 000..4582dec4f56 --- /dev/null +++ b/net-dns/maradns/files/maradns-3.5.0020-flags-ipv6.patch @@ -0,0 +1,113 @@ +From 0a2159798edffdbc0fdba67b2ae4aeca118a2516 Mon Sep 17 00:00:00 2001 +From: Victor Kustov +Date: Mon, 31 May 2021 22:47:55 +0300 +Subject: [PATCH] fix + +--- + build/Makefile.linux | 52 ++-- + configure| 4 ++-- + 2 files changed, 28 insertions(+), 28 deletions(-) + +diff --git a/build/Makefile.linux b/build/Makefile.linux +index 965c7fb..62c20b9 100644 +--- a/build/Makefile.linux b/build/Makefile.linux +@@ -24,48 +24,48 @@ EXECS=server/maradns + # end the Solaris section + # Non-Solaris version of "M" + V="VERSION=$(VERSION)" +-Q="DEFINES=-DSELECT_PROBLEM" ++Q="$(LDFLAGS) DEFINES=-DSELECT_PROBLEM" + + # Debug + + FLAGS = -O2 -Wall -DSELECT_PROBLEM +-M="CC=$(CC) $(FLAGS)" +-D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS" ++M="CC=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" ++D="CC=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -DDEBUG -DTHREADS" + #FLAGS = -g + + all: +- cd libs ; make $(M) ; cd ../dns ; make $(M) ; \ +- cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \ +- cd ../qual ; make $(M) ; cd ../server ; \ ++ cd libs ; $(MAKE) $(M) ; cd ../dns ; $(MAKE) $(M) ; \ ++ cd ../rng ; $(MAKE) $(M) ; cd ../parse ; $(MAKE) $(M) ; \ ++ cd ../qual ; $(MAKE) $(M) ; cd ../server ; \ + make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ +- cd ../tools ; make $(M) ; \ +- cd ../deadwood-*/src/ ; make FLAGS=-O2 ; \ +- cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST ++ cd ../tools ; $(MAKE) $(M) ; \ ++ cd ../deadwood-*/src/ ; $(MAKE) $(M) ; \ ++ cd ../../tcp ; $(MAKE) $(M) $(V) ; cat ../00README.FIRST + + debug: +- cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \ +- cd ../dns ; make $(D) ; cd ../rng ; make $(D) ; \ +- cd ../parse ; make $(D) ; cd ../qual ; make $(D) ; \ ++ cd libs ; $(MAKE) $(D) DEBUG="-DDEBUG -DTHREADS" ; \ ++ cd ../dns ; $(MAKE) $(D) ; cd ../rng ; $(MAKE) $(D) ; \ ++ cd ../parse ; $(MAKE) $(D) ; cd ../qual ; $(MAKE) $(D) ; \ + cd ../server ; \ + make $(D) $(Q) $(V) COMPILED=\"$(COMPILED_DEBUG)\" ; \ +- cd ../tools ; make $(D) ; \ +- cd ../tcp ; make $(D) $(V) ; cat ../00README.FIRST ++ cd ../tools ; $(MAKE) $(D) ; \ ++ cd ../tcp ; $(MAKE) $(D) $(V) ; cat ../00README.FIRST + + clean: + rm -f $(OBJECTS) core $(EXECS) ; \ +- cp build/Makefile.w Makefile ; cd dns ; make clean ; \ +- cd ../libs ; make clean ; cd ../parse ; make clean ; \ +- cd ../qual ; make clean ; \ +- cd ../server ; make clean ; \ ++ cp build/Makefile.w Makefile ; cd dns ; $(MAKE) clean ; \ ++ cd ../libs ; $(MAKE) clean ; cd ../parse ; $(MAKE) clean ; \ ++ cd ../qual ; $(MAKE) clean ; \ ++ cd ../server ; $(MAKE) clean ; \ + cp Makefile.recursive Makefile ; \ +- cd ../test ; make clean ; \ +- cd ../tools ; make clean ; \ +- cd misc ; make clean ; \ +- cd ../../utf8 ; make clean ; \ +- cd ../tcp ; make clean ; \ +- cd ../rng ; make clean ; \ +-
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: c6202801cce59ccc7d17f7732636afa96fd42551 Author: Jakov Smolic sartura hr> AuthorDate: Fri Apr 30 00:54:31 2021 + Commit: Sam James gentoo org> CommitDate: Tue May 4 22:17:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6202801 net-dns/maradns: Port to python 3.9 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Sam James gentoo.org> net-dns/maradns/maradns-3.5.0005.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0005.ebuild b/net-dns/maradns/maradns-3.5.0005.ebuild index 13c34daf206..0b520db460f 100644 --- a/net-dns/maradns/maradns-3.5.0005.ebuild +++ b/net-dns/maradns/maradns-3.5.0005.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit python-any-r1 systemd toolchain-funcs DESCRIPTION="A security-aware DNS server"
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/, net-dns/maradns/
commit: 6f91d81f5e55ca9b74942e1808173c111c69dbf9 Author: Jakov Smolic sartura hr> AuthorDate: Thu Apr 29 23:41:46 2021 + Commit: Sam James gentoo org> CommitDate: Tue May 4 22:17:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f91d81f net-dns/maradns: Respect CFLAGS/LDFLAGS Closes: https://bugs.gentoo.org/724942 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Sam James gentoo.org> net-dns/maradns/files/maradns-3.5.0005-flags.patch | 28 ++ net-dns/maradns/maradns-3.5.0005.ebuild| 21 +--- 2 files changed, 41 insertions(+), 8 deletions(-) diff --git a/net-dns/maradns/files/maradns-3.5.0005-flags.patch b/net-dns/maradns/files/maradns-3.5.0005-flags.patch new file mode 100644 index 000..66493632df0 --- /dev/null +++ b/net-dns/maradns/files/maradns-3.5.0005-flags.patch @@ -0,0 +1,28 @@ +--- a/build/Makefile.linux b/build/Makefile.linux +@@ -24,13 +24,13 @@ EXECS=server/maradns + # end the Solaris section + # Non-Solaris version of "M" + V="VERSION=$(VERSION)" +-Q="DEFINES=-DSELECT_PROBLEM" ++Q="$(LDFLAGS) DEFINES=-DSELECT_PROBLEM" + + # Debug + + FLAGS = -O2 -Wall -DSELECT_PROBLEM +-M="CC=$(CC) $(FLAGS)" +-D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS" ++M="CC=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" ++D="CC=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -DDEBUG -DTHREADS" + #FLAGS = -g + + all: +@@ -39,7 +39,7 @@ all: + cd ../qual ; make $(M) ; cd ../server ; \ + make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \ + cd ../tools ; make $(M) ; \ +- cd ../deadwood-*/src/ ; make FLAGS=-O2 ; \ ++ cd ../deadwood-*/src/ ; $(MAKE) $(M) ; \ + cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST + + debug: diff --git a/net-dns/maradns/maradns-3.5.0005.ebuild b/net-dns/maradns/maradns-3.5.0005.ebuild index dc945dfceb0..13c34daf206 100644 --- a/net-dns/maradns/maradns-3.5.0005.ebuild +++ b/net-dns/maradns/maradns-3.5.0005.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7,8} ) - -inherit systemd toolchain-funcs python-any-r1 +inherit python-any-r1 systemd toolchain-funcs DESCRIPTION="A security-aware DNS server" HOMEPAGE="http://www.maradns.org/; @@ -17,12 +16,17 @@ SLOT="0" KEYWORDS="amd64 ~mips ~ppc x86" IUSE="examples ipv6" -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - acct-user/maradns +BDEPEND="${PYTHON_DEPS} + dev-lang/perl" +DEPEND=" acct-group/maradns acct-user/duende - dev-lang/perl" + acct-user/maradns" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-flags.patch +) src_prepare() { default @@ -36,7 +40,8 @@ src_prepare() { src_configure() { tc-export CC - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" + ./configure \ + $(usex ipv6 --ipv6 "") || die "Failed to configure ${PN}" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: dba1cbc156f9d837ae46f50a37b7cbdc9093ec28 Author: Michał Górny gentoo org> AuthorDate: Sat Sep 19 10:46:56 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 19 11:28:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dba1cbc1 net-dns/maradns: Remove old Signed-off-by: Michał Górny gentoo.org> net-dns/maradns/Manifest | 1 - net-dns/maradns/maradns-2.0.16.ebuild | 111 -- net-dns/maradns/metadata.xml | 3 - 3 files changed, 115 deletions(-) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index 09d666c3793..3dc055a4f47 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1,2 +1 @@ -DIST maradns-2.0.16.tar.bz2 1127504 BLAKE2B 142166370efed2d52c0a1e659bf0056f8d13cc5eca3c1d30c0278b81047aa58ce6c6f3f8496e982841b9dcd541ffd2c24467b8062aa5a7ffb1f31ef6cf841a15 SHA512 9959a7b6724aff5561fa9303b3d7c967e298fd63d95ef7e34d80514dde8871c19887c184a6466779f2833c295233dd1d54a7c06928ac58dcbb374281deb13f17 DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0af92301e157216b4a5bbd2ed74ceb829ef4d11cd08048c7a685a09cdd4178cf3fc4e7b2465820d26d3a5c1b96f4a5e SHA512 2e7008ff6217929008292dde60d96eb2ec0499a170e1b5bda5fcfb27300d2ce6cecd8b3e2a2d4b09ff32b803f9f435230378e6b2e41e7b63c42653d8c931151d diff --git a/net-dns/maradns/maradns-2.0.16.ebuild b/net-dns/maradns/maradns-2.0.16.ebuild deleted file mode 100644 index 17e475eff84..000 --- a/net-dns/maradns/maradns-2.0.16.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 systemd toolchain-funcs user - -DEADWOOD_VER="3.2.12" - -DESCRIPTION="A security-aware DNS server" -HOMEPAGE="http://www.maradns.org/; -SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; - -# The GPL-2 covers the init script, bug 426018. -LICENSE="BSD-2 GPL-2" -SLOT="0" -KEYWORDS="amd64 ~mips ~ppc x86" -IUSE="authonly examples ipv6" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - dev-lang/perl" - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - default - - # Use duende-ng.c. - cp tools/duende{,-ng}.c \ - || die "failed to rename duende-ng.c" - # replace "make" by "$(MAKE)" to avoid GNU Make warning - sed -i 's/\ make\ /\ \$\(MAKE\)\ /g' build/Makefile.linux \ - || die "can't patch build/Makefile.linux" - - python_fix_shebang tools/bind2csv2.py -} - -src_configure() { - tc-export CC - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" -} - -src_install() { - # Install the MaraDNS and Deadwood binaries - dosbin server/maradns - dosbin tcp/zoneserver - if ! use authonly; then - dosbin deadwood-${DEADWOOD_VER}/src/Deadwood - fi - dobin tcp/{getzone,fetchzone} - dobin tools/{askmara,askmara-tcp,duende,bind2csv2.py,csv1tocsv2.pl} - - # MaraDNS docs, manpages, misc - dodoc doc/en/{QuickStart,README,*.txt,*.html} - dodoc -r doc/en/{text,webpage,tutorial} - dodoc maradns.gpg.key - if ! use authonly; then - docinto deadwood - dodoc deadwood-${DEADWOOD_VER}/doc/{*.txt,*.html,CHANGELOG,Deadwood-HOWTO} - dodoc -r deadwood-${DEADWOOD_VER}/doc/internals - fi - - # Install examples (optional) - if use examples ; then - docinto examples - dodoc doc/en/examples/example_* - fi - - # Install manpages - doman doc/en/man/*.[1-9] - if ! use authonly; then - doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 - fi - - # Example configurations. - insinto /etc/maradns - newins doc/en/examples/example_full_mararc mararc_full.dist - newins doc/en/examples/example_csv2 example_csv2.dist - if ! use authonly; then - newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist - fi - keepdir /etc/maradns/logger - - # Init scripts. - newinitd "${FILESDIR}"/maradns2 maradns - newinitd "${FILESDIR}"/zoneserver2 zoneserver - if ! use authonly; then - newinitd "${FILESDIR}"/deadwood deadwood - fi - - # systemd unit - # please keep paths in sync! - sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \ - -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \ - "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service \ - || die "failed to create the maradns.service file (sed)" - - systemd_dounit "${T}"/maradns.service -} - -pkg_preinst() { - enewgroup maradns 99 - enewuser duende 66 -1 -1 maradns - enewuser maradns 99 -1 -1
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: e4f8f71e1fb6ecfc26cc080e761951bf404cdcb1 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 18 11:20:12 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 18 11:20:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4f8f71e net-dns/maradns: x86 stable wrt bug #735390 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/maradns/maradns-3.5.0005.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0005.ebuild b/net-dns/maradns/maradns-3.5.0005.ebuild index f27d6cd542c..4ce9ee6ad43 100644 --- a/net-dns/maradns/maradns-3.5.0005.ebuild +++ b/net-dns/maradns/maradns-3.5.0005.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="amd64 ~mips ~ppc ~x86" +KEYWORDS="amd64 ~mips ~ppc x86" IUSE="examples ipv6" DEPEND="${PYTHON_DEPS}"
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 5466cf7b04dba4b97f14faca1835718eafa1c956 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 18 11:14:24 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 18 11:14:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5466cf7b net-dns/maradns: amd64 stable wrt bug #735390 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/maradns/maradns-3.5.0005.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-3.5.0005.ebuild b/net-dns/maradns/maradns-3.5.0005.ebuild index 049cb0ac80e..f27d6cd542c 100644 --- a/net-dns/maradns/maradns-3.5.0005.ebuild +++ b/net-dns/maradns/maradns-3.5.0005.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~x86" +KEYWORDS="amd64 ~mips ~ppc ~x86" IUSE="examples ipv6" DEPEND="${PYTHON_DEPS}"
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/
commit: bfea4b6b34134ffc494362c742c01c01c638004a Author: Michael Mair-Keimberger gmail com> AuthorDate: Thu Jul 2 17:37:27 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Jul 3 23:22:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfea4b6b net-dns/maradns: remove unused patches Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16543 Signed-off-by: Aaron Bauman gentoo.org> .../maradns/files/maradns-2.0.06-askmara-tcp.patch | 251 - .../maradns/files/maradns-2.0.06-duende-man.patch | 109 - net-dns/maradns/files/maradns-2.0.09-build.patch | 43 3 files changed, 403 deletions(-) diff --git a/net-dns/maradns/files/maradns-2.0.06-askmara-tcp.patch b/net-dns/maradns/files/maradns-2.0.06-askmara-tcp.patch deleted file mode 100644 index 107097159c8..000 --- a/net-dns/maradns/files/maradns-2.0.06-askmara-tcp.patch +++ /dev/null @@ -1,251 +0,0 @@ -Author: Nicholas Bamber -Subject: askmara-tcp lazily copies askmara usage and man page -Last-Updated: 2011-09-21 -Forwarded: no a/tools/askmara_labels_en.h -+++ b/tools/askmara_labels_en.h -@@ -1,11 +1,12 @@ - /* Placed in the public domain 2001 by Sam Trenholme */ - --/* All of the labels for replies used in askmara */ -+/* All of the labels for replies used in askmara(-tcp) */ - - #define L_NEWLINE "\n" - #define L_HARD_ERROR "Hard Error: " - #define L_QUERYING "Querying the server with the IP " - #define L_USAGE "Usage: askmara [-n] [-v | -t timeout] Query [server]\n#Example: askmara Ayahoo.com." -+#define L_USAGE_TCP "Usage: askmara-tcp [-n] [-v | -t timeout] Query [server]\n#Example: askmara-tcp Ayahoo.com." - #define L_JS_CREATE_INDATA "js_create with indata" - #define L_JS_CREATE_UINDATA "js_create with uindata" - #define L_JS_CREATE_OUTDATA "js_create with outdata" a/tools/askmara-tcp.c -+++ b/tools/askmara-tcp.c -@@ -190,7 +190,7 @@ - nrd = 1; - else if(argv[0][0] == '-' && argv[0][1] == 'p') { - if(argc < 2) { --harderror(L_USAGE); -+harderror(L_USAGE_TCP); - } - argc--; - argv++; -@@ -201,7 +201,7 @@ - } - else if(argv[0][0] == '-' && argv[0][1] == 't') { - if(argc < 2) { --harderror(L_USAGE); -+harderror(L_USAGE_TCP); - } - argc--; - argv++; -@@ -213,14 +213,14 @@ - else if (argv[0][0] != '-') - break; - else --harderror(L_USAGE); -+harderror(L_USAGE_TCP); - argc--; - argv++; - } - - /* we expect now the query string and possibly the server */ - if(argc<1) --harderror(L_USAGE); -+harderror(L_USAGE_TCP); - - /* Determine what IP address to connect to */ - if(argc>1) /dev/null -+++ b/doc/en/man/askmara-tcp.1 -@@ -0,0 +1,191 @@ -+.\" Do *not* edit this file; it was automatically generated by ej2man -+.\" Look for a name.ej file with the same name as this filename -+.\" -+.\" Process this file with the following -+.\" nroff -man -Tutf8 maradns.8 | tr '\020' ' ' -+.\" -+.\" Last updated Mon Sep 27 15:36:06 2010 -+.\" -+.TH ASKMARA-TCP 1 "askmara-tcp" "January 2002" "askmara-tcp" -+.\" We don't want hyphenation (it's too ugly) -+.\" We also disable justification when using nroff -+.\" Due to the way the -mandoc macro works, this needs to be placed -+.\" after the .TH heading -+.hy 0 -+.if n .na -+.\" -+.\" We need the following stuff so that we can have single quotes -+.\" In both groff and other UNIX *roff processors -+.if \n(.g .mso www.tmac -+.ds aq \(aq -+.if !\n(.g .if '\(aq'' .ds aq \' -+ -+.SH "NAME" -+.PP -+askmara-tcp \- do simple dns queries over TCP -+.SH "DESCRIPTION" -+.PP -+.B "askmara-tcp" -+queries the user-specified dns server for records, and -+outputs the reply in a csv2-compatible format (csv2 is the format of -+zone -+files that -+.B "maradns" -+uses). However unlike -+.B "askmara" -+it uses TCP rather than UDP. -+.SH "USAGE" -+.PP -+.B "askmara-tcp" -+.RB [ -n ] -+.RB [ -v | -t -+.IR timeout ] -+.I query -+.RI [ server ] -+.SH "OPTIONS" -+.PP -+.TP 4 -+.BI -t -+If this is present, the following argument is the askmara-tcp -+.IR timeout , -+in seconds. Note that -+.B "askmara-tcp" -+can not both have a user-defined -+timeout and verbose output. -+.TP 4 -+.BI -v -+If this is set, -+.B "askmara-tcp" -+will verbosely output the complete reply that the server sent. Note -+that this verbose output is not csv2-compatible. -+.TP 4 -+.BI -n -+If this is set, -+.BR "askmara-tcp" "," -+when sending out a query, will not -+request DNS recursion; in other words, askmara-tcp will request that the -+remote DNS server not contact other DNS servers to answer the query in -+question. -+.TP 4 -+.I query -+dns record to be
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 0279498e10fabd402b4d3944e4847ace595de0b5 Author: Piotr Karbowski gentoo org> AuthorDate: Wed Jul 1 19:44:31 2020 + Commit: Piotr Karbowski gentoo org> CommitDate: Wed Jul 1 19:45:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0279498e net-dns/maradns: 3.5.0005 version bump Signed-off-by: Piotr Karbowski gentoo.org> net-dns/maradns/Manifest| 1 + net-dns/maradns/maradns-3.5.0005.ebuild | 88 + 2 files changed, 89 insertions(+) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index b99875ce971..26b66e10cf2 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1,3 +1,4 @@ DIST maradns-2.0.09.tar.bz2 1139409 BLAKE2B 8c3709241b85f9069eb4e18098f7753b19bcc87d32bbb36aef42cb8ec123dc73b8e29e79b5efe1083035b2378a484e2c00038700647d5e75f469589b37b351e2 SHA512 42bfcafaf4e465d8d566b4d9ea8383b5d0f553486b86dd807b35a07358987227e5dc8187de0e8192fba5b53098d61f91091cec112ef7cc80c5d5e73d8acff3bf DIST maradns-2.0.14.tar.bz2 1156272 BLAKE2B 7e96d0769dd1df70316cc1bd79fb7e902c723f78db035fe721aaab0d6902958a40c2743374824ae024759164ad9cbda9a3c6ecaec7cc6bf3c5fa7b384101c16f SHA512 57527bba2f9801904f59cc7d9e56cbd7124635841ad8c91cbd3d1b8d58e7fe38d509e19f6ea53e2790777e054b68bb8df02bfa820ba7c9dbe65262e1993a2aa4 DIST maradns-2.0.16.tar.bz2 1127504 BLAKE2B 142166370efed2d52c0a1e659bf0056f8d13cc5eca3c1d30c0278b81047aa58ce6c6f3f8496e982841b9dcd541ffd2c24467b8062aa5a7ffb1f31ef6cf841a15 SHA512 9959a7b6724aff5561fa9303b3d7c967e298fd63d95ef7e34d80514dde8871c19887c184a6466779f2833c295233dd1d54a7c06928ac58dcbb374281deb13f17 +DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0af92301e157216b4a5bbd2ed74ceb829ef4d11cd08048c7a685a09cdd4178cf3fc4e7b2465820d26d3a5c1b96f4a5e SHA512 2e7008ff6217929008292dde60d96eb2ec0499a170e1b5bda5fcfb27300d2ce6cecd8b3e2a2d4b09ff32b803f9f435230378e6b2e41e7b63c42653d8c931151d diff --git a/net-dns/maradns/maradns-3.5.0005.ebuild b/net-dns/maradns/maradns-3.5.0005.ebuild new file mode 100644 index 000..049cb0ac80e --- /dev/null +++ b/net-dns/maradns/maradns-3.5.0005.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit systemd toolchain-funcs python-any-r1 + +DESCRIPTION="A security-aware DNS server" +HOMEPAGE="http://www.maradns.org/; +SRC_URI="https://maradns.samiam.org/download/${PV%.*}/${PV}/${P}.tar.xz; + +# The GPL-2 covers the init script, bug 426018. +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +IUSE="examples ipv6" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + acct-user/maradns + acct-group/maradns + acct-user/duende + dev-lang/perl" + +src_prepare() { + default + + # replace "make" by "$(MAKE)" to avoid GNU Make warning + sed -i 's/\ make\ /\ \$\(MAKE\)\ /g' build/Makefile.linux \ + || die "can't patch build/Makefile.linux" + + python_fix_shebang tools/bind2csv2.py +} + +src_configure() { + tc-export CC + ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" +} + +src_install() { + # Install the MaraDNS and Deadwood binaries + dosbin server/maradns + dosbin tcp/zoneserver + dosbin deadwood-${PV}/src/Deadwood + dobin tcp/{getzone,fetchzone} + dobin tools/{askmara,askmara-tcp,duende,bind2csv2.py,csv1tocsv2.pl} + + # MaraDNS docs, manpages, misc + dodoc doc/en/{QuickStart,README,*.txt,*.html} + dodoc -r doc/en/{text,webpage,tutorial} + dodoc maradns.gpg.key + docinto deadwood + dodoc deadwood-${PV}/doc/{*.txt,*.html,CHANGELOG,Deadwood-HOWTO} + dodoc -r deadwood-${PV}/doc/internals + + # Install examples (optional) + if use examples ; then + docinto examples + dodoc doc/en/examples/example_* + fi + + # Install manpages + doman doc/en/man/*.[1-9] + doman deadwood-${PV}/doc/{Deadwood,Duende}.1 + + # Example configurations. + insinto /etc/maradns + newins doc/en/examples/example_full_mararc mararc_full.dist + newins doc/en/examples/example_csv2 example_csv2.dist + newins deadwood-${PV}/doc/dwood3rc-all dwood3rc_all.dist + keepdir /etc/maradns/logger + + # Init scripts. + newinitd "${FILESDIR}"/maradns2 maradns + newinitd "${FILESDIR}"/zoneserver2 zoneserver + newinitd "${FILESDIR}"/deadwood deadwood + + # systemd unit + # please keep paths in sync! + sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \ + -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \ + "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service \ + || die "failed to create the maradns.service file (sed)" + + systemd_dounit "${T}"/maradns.service +}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: cec53b4ce666996d46df6d4f6dbd727d61f2c195 Author: Piotr Karbowski gentoo org> AuthorDate: Wed Jul 1 19:46:59 2020 + Commit: Piotr Karbowski gentoo org> CommitDate: Wed Jul 1 19:46:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec53b4c net-dns/maradns: drop old versions. Signed-off-by: Piotr Karbowski gentoo.org> net-dns/maradns/Manifest | 2 - net-dns/maradns/maradns-2.0.09-r2.ebuild | 101 net-dns/maradns/maradns-2.0.14.ebuild| 111 --- 3 files changed, 214 deletions(-) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index 26b66e10cf2..09d666c3793 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1,4 +1,2 @@ -DIST maradns-2.0.09.tar.bz2 1139409 BLAKE2B 8c3709241b85f9069eb4e18098f7753b19bcc87d32bbb36aef42cb8ec123dc73b8e29e79b5efe1083035b2378a484e2c00038700647d5e75f469589b37b351e2 SHA512 42bfcafaf4e465d8d566b4d9ea8383b5d0f553486b86dd807b35a07358987227e5dc8187de0e8192fba5b53098d61f91091cec112ef7cc80c5d5e73d8acff3bf -DIST maradns-2.0.14.tar.bz2 1156272 BLAKE2B 7e96d0769dd1df70316cc1bd79fb7e902c723f78db035fe721aaab0d6902958a40c2743374824ae024759164ad9cbda9a3c6ecaec7cc6bf3c5fa7b384101c16f SHA512 57527bba2f9801904f59cc7d9e56cbd7124635841ad8c91cbd3d1b8d58e7fe38d509e19f6ea53e2790777e054b68bb8df02bfa820ba7c9dbe65262e1993a2aa4 DIST maradns-2.0.16.tar.bz2 1127504 BLAKE2B 142166370efed2d52c0a1e659bf0056f8d13cc5eca3c1d30c0278b81047aa58ce6c6f3f8496e982841b9dcd541ffd2c24467b8062aa5a7ffb1f31ef6cf841a15 SHA512 9959a7b6724aff5561fa9303b3d7c967e298fd63d95ef7e34d80514dde8871c19887c184a6466779f2833c295233dd1d54a7c06928ac58dcbb374281deb13f17 DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0af92301e157216b4a5bbd2ed74ceb829ef4d11cd08048c7a685a09cdd4178cf3fc4e7b2465820d26d3a5c1b96f4a5e SHA512 2e7008ff6217929008292dde60d96eb2ec0499a170e1b5bda5fcfb27300d2ce6cecd8b3e2a2d4b09ff32b803f9f435230378e6b2e41e7b63c42653d8c931151d diff --git a/net-dns/maradns/maradns-2.0.09-r2.ebuild b/net-dns/maradns/maradns-2.0.09-r2.ebuild deleted file mode 100644 index 2124be1f395..000 --- a/net-dns/maradns/maradns-2.0.09-r2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd toolchain-funcs user - -DEADWOOD_VER="3.2.05" - -DESCRIPTION="A security-aware DNS server" -HOMEPAGE="http://www.maradns.org/; -SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; - -# The GPL-2 covers the init script, bug 426018. -LICENSE="BSD-2 GPL-2" -SLOT="0" -KEYWORDS="amd64 ~mips ppc x86" -IUSE="authonly examples ipv6" - -DEPEND="" -RDEPEND="" - -PATCHES=( - "${FILESDIR}/${PN}-2.0.06-askmara-tcp.patch" - "${FILESDIR}/${PN}-2.0.06-duende-man.patch" - "${FILESDIR}/${P}-build.patch" -) - -pkg_setup() { - ebegin "Creating group and users" - enewgroup maradns 99 - enewuser duende 66 -1 -1 maradns - enewuser maradns 99 -1 -1 maradns - eend ${?} -} - -src_configure() { - # Use duende-ng.c. - cp "${S}/tools/duende-ng.c" "${S}/tools/duende.c" \ - || die "failed to rename duende-ng.c" - - tc-export CC - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" -} - -src_install() { - # Install the MaraDNS binaries. - dosbin server/maradns - dosbin tcp/zoneserver - dobin tcp/getzone tcp/fetchzone - dobin tools/askmara tools/askmara-tcp tools/duende - dobin tools/bind2csv2.py tools/csv1tocsv2.pl - - # MaraDNS docs, manpages, misc. - dodoc doc/en/{QuickStart,README,*.txt} - dodoc doc/en/text/*.txt - doman doc/en/man/*.[1-9] - dodoc maradns.gpg.key - dodoc doc/en/*.html - dodoc -r doc/en/webpage - dodoc -r doc/en/tutorial - if use examples ; then - docinto examples - dodoc doc/en/examples/example_* - fi - - # Deadwood binary, docs, manpages, etc. - if ! use authonly; then - dosbin deadwood-${DEADWOOD_VER}/src/Deadwood - doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 - docinto deadwood - dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende,FAQ}.txt - dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,FAQ}.html - docinto deadwood/internals - dodoc deadwood-${DEADWOOD_VER}/doc/internals/* - insinto /etc/maradns - newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist - fi - - # Example configurations. - insinto /etc/maradns - newins doc/en/examples/example_full_mararc mararc_full.dist - newins doc/en/examples/example_csv2 example_csv2.dist - keepdir /etc/maradns/logger - - # Init scripts. -
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 66ccd5c60fa822901c6adc37685e3911c460447c Author: Piotr Karbowski gentoo org> AuthorDate: Mon Jun 29 21:01:35 2020 + Commit: Piotr Karbowski gentoo org> CommitDate: Mon Jun 29 21:01:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ccd5c6 net-dns/maradns: Adding myself to maintainers. Signed-off-by: Piotr Karbowski gentoo.org> net-dns/maradns/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/net-dns/maradns/metadata.xml b/net-dns/maradns/metadata.xml index 08d29c2b89a..1989b4903ef 100644 --- a/net-dns/maradns/metadata.xml +++ b/net-dns/maradns/metadata.xml @@ -1,6 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> + +slashbe...@gentoo.org +Piotr Karbowski + ktr...@yandex.ru Victor Kustov
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 4882b48495fa04435ee5a5f641478d8a71bb2504 Author: Piotr Karbowski gentoo org> AuthorDate: Fri Dec 13 22:31:52 2019 + Commit: Piotr Karbowski gentoo org> CommitDate: Fri Dec 13 22:32:14 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4882b484 net-dns/maradns-2.0.16: amd64 stable (bug 698264) Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Piotr Karbowski gentoo.org> net-dns/maradns/maradns-2.0.16.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-2.0.16.ebuild b/net-dns/maradns/maradns-2.0.16.ebuild index 77bcdaaae0a..17e475eff84 100644 --- a/net-dns/maradns/maradns-2.0.16.ebuild +++ b/net-dns/maradns/maradns-2.0.16.ebuild @@ -16,7 +16,7 @@ SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc x86" +KEYWORDS="amd64 ~mips ~ppc x86" IUSE="authonly examples ipv6" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 15b1bc72cd93d36cb20ab253be89355376136fcd Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Oct 23 13:38:50 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Oct 23 13:38:50 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b1bc72 net-dns/maradns: x86 stable wrt bug #698264 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/maradns/maradns-2.0.16.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-dns/maradns/maradns-2.0.16.ebuild b/net-dns/maradns/maradns-2.0.16.ebuild index 38a74bf9a91..77bcdaaae0a 100644 --- a/net-dns/maradns/maradns-2.0.16.ebuild +++ b/net-dns/maradns/maradns-2.0.16.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~x86" +KEYWORDS="~amd64 ~mips ~ppc x86" IUSE="authonly examples ipv6" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: dbccae1c8a4ec514c7eb7f22b4bf1dd25489a1fc Author: ktrace yandex ru> AuthorDate: Thu Sep 27 19:31:57 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 29 08:45:48 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbccae1c net-dns/maradns: up EAPI=7, bump to 2.0.16 This commit update MaraDNS to 2.0.16, Deadwood recursor to 3.2.12 with fix theoretical issue with the cryptographic code in Deadwood: https://github.com/samboy/MaraDNS/blob/master/deadwood-github/doc/CHANGELOG Signed-off-by: Victor Kustov yandex.ru> Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9991 net-dns/maradns/Manifest | 1 + net-dns/maradns/maradns-2.0.16.ebuild | 111 ++ 2 files changed, 112 insertions(+) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index 8eac5145da6..b99875ce971 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1,2 +1,3 @@ DIST maradns-2.0.09.tar.bz2 1139409 BLAKE2B 8c3709241b85f9069eb4e18098f7753b19bcc87d32bbb36aef42cb8ec123dc73b8e29e79b5efe1083035b2378a484e2c00038700647d5e75f469589b37b351e2 SHA512 42bfcafaf4e465d8d566b4d9ea8383b5d0f553486b86dd807b35a07358987227e5dc8187de0e8192fba5b53098d61f91091cec112ef7cc80c5d5e73d8acff3bf DIST maradns-2.0.14.tar.bz2 1156272 BLAKE2B 7e96d0769dd1df70316cc1bd79fb7e902c723f78db035fe721aaab0d6902958a40c2743374824ae024759164ad9cbda9a3c6ecaec7cc6bf3c5fa7b384101c16f SHA512 57527bba2f9801904f59cc7d9e56cbd7124635841ad8c91cbd3d1b8d58e7fe38d509e19f6ea53e2790777e054b68bb8df02bfa820ba7c9dbe65262e1993a2aa4 +DIST maradns-2.0.16.tar.bz2 1127504 BLAKE2B 142166370efed2d52c0a1e659bf0056f8d13cc5eca3c1d30c0278b81047aa58ce6c6f3f8496e982841b9dcd541ffd2c24467b8062aa5a7ffb1f31ef6cf841a15 SHA512 9959a7b6724aff5561fa9303b3d7c967e298fd63d95ef7e34d80514dde8871c19887c184a6466779f2833c295233dd1d54a7c06928ac58dcbb374281deb13f17 diff --git a/net-dns/maradns/maradns-2.0.16.ebuild b/net-dns/maradns/maradns-2.0.16.ebuild new file mode 100644 index 000..38a74bf9a91 --- /dev/null +++ b/net-dns/maradns/maradns-2.0.16.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 systemd toolchain-funcs user + +DEADWOOD_VER="3.2.12" + +DESCRIPTION="A security-aware DNS server" +HOMEPAGE="http://www.maradns.org/; +SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; + +# The GPL-2 covers the init script, bug 426018. +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +IUSE="authonly examples ipv6" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-lang/perl" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + + # Use duende-ng.c. + cp tools/duende{,-ng}.c \ + || die "failed to rename duende-ng.c" + # replace "make" by "$(MAKE)" to avoid GNU Make warning + sed -i 's/\ make\ /\ \$\(MAKE\)\ /g' build/Makefile.linux \ + || die "can't patch build/Makefile.linux" + + python_fix_shebang tools/bind2csv2.py +} + +src_configure() { + tc-export CC + ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" +} + +src_install() { + # Install the MaraDNS and Deadwood binaries + dosbin server/maradns + dosbin tcp/zoneserver + if ! use authonly; then + dosbin deadwood-${DEADWOOD_VER}/src/Deadwood + fi + dobin tcp/{getzone,fetchzone} + dobin tools/{askmara,askmara-tcp,duende,bind2csv2.py,csv1tocsv2.pl} + + # MaraDNS docs, manpages, misc + dodoc doc/en/{QuickStart,README,*.txt,*.html} + dodoc -r doc/en/{text,webpage,tutorial} + dodoc maradns.gpg.key + if ! use authonly; then + docinto deadwood + dodoc deadwood-${DEADWOOD_VER}/doc/{*.txt,*.html,CHANGELOG,Deadwood-HOWTO} + dodoc -r deadwood-${DEADWOOD_VER}/doc/internals + fi + + # Install examples (optional) + if use examples ; then + docinto examples + dodoc doc/en/examples/example_* + fi + + # Install manpages + doman doc/en/man/*.[1-9] + if ! use authonly; then + doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 + fi + + # Example configurations. + insinto /etc/maradns + newins doc/en/examples/example_full_mararc mararc_full.dist + newins doc/en/examples/example_csv2 example_csv2.dist + if ! use authonly; then + newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist + fi + keepdir /etc/maradns/logger + + # Init scripts. + newinitd "${FILESDIR}"/maradns2 maradns + newinitd
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 3c8e4fb07cd0ed1001885f98e69500ddeaf08872 Author: ktrace bks tv> AuthorDate: Wed Nov 29 18:59:18 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Dec 2 17:58:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8e4fb0 net-dns/maradns: version bump to 2.0.14 Add 2.0.14 MaraDNS, Deadwood 3.2.10 Package-Manager: Portage-2.3.13, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/6347 net-dns/maradns/Manifest | 1 + net-dns/maradns/maradns-2.0.14.ebuild | 111 ++ 2 files changed, 112 insertions(+) diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest index fa432eb341b..221f300e61a 100644 --- a/net-dns/maradns/Manifest +++ b/net-dns/maradns/Manifest @@ -1 +1,2 @@ DIST maradns-2.0.09.tar.bz2 1139409 SHA256 e1ee80836f0fbc47b9b94ec839e112ea19c40bed0b70d672d231849a4dea1083 SHA512 42bfcafaf4e465d8d566b4d9ea8383b5d0f553486b86dd807b35a07358987227e5dc8187de0e8192fba5b53098d61f91091cec112ef7cc80c5d5e73d8acff3bf WHIRLPOOL 6f3e55d8c6633a465c0e9de576921d833c67332cf0cbc8c01e7bc7d70c46102c32566d0ee867cdbf11c8b2b1d5cdc40d18ee4791bd0a4e045ad0e0bc590e61d6 +DIST maradns-2.0.14.tar.bz2 1156272 BLAKE2B 7e96d0769dd1df70316cc1bd79fb7e902c723f78db035fe721aaab0d6902958a40c2743374824ae024759164ad9cbda9a3c6ecaec7cc6bf3c5fa7b384101c16f SHA512 57527bba2f9801904f59cc7d9e56cbd7124635841ad8c91cbd3d1b8d58e7fe38d509e19f6ea53e2790777e054b68bb8df02bfa820ba7c9dbe65262e1993a2aa4 diff --git a/net-dns/maradns/maradns-2.0.14.ebuild b/net-dns/maradns/maradns-2.0.14.ebuild new file mode 100644 index 000..8d0ca3ee841 --- /dev/null +++ b/net-dns/maradns/maradns-2.0.14.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 systemd toolchain-funcs user + +DEADWOOD_VER="3.2.10" + +DESCRIPTION="A security-aware DNS server" +HOMEPAGE="http://www.maradns.org/; +SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; + +# The GPL-2 covers the init script, bug 426018. +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +IUSE="authonly examples ipv6" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-lang/perl" + +pkg_setup() { + ebegin "Creating group and users" + enewgroup maradns 99 + enewuser duende 66 -1 -1 maradns + enewuser maradns 99 -1 -1 maradns + eend ${?} + + python-single-r1_pkg_setup +} + +src_prepare() { + default + + # Use duende-ng.c. + cp tools/duende{,-ng}.c \ + || die "failed to rename duende-ng.c" + # replace "make" by "$(MAKE)" to avoid GNU Make warning + sed -i 's/\ make\ /\ \$\(MAKE\)\ /g' build/Makefile.linux \ + || die "can't patch build/Makefile.linux" + + python_fix_shebang tools/bind2csv2.py +} + +src_configure() { + tc-export CC + ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" +} + +src_install() { + # Install the MaraDNS and Deadwood binaries + dosbin server/maradns + dosbin tcp/zoneserver + if ! use authonly; then + dosbin deadwood-${DEADWOOD_VER}/src/Deadwood + fi + dobin tcp/{getzone,fetchzone} + dobin tools/{askmara,askmara-tcp,duende,bind2csv2.py,csv1tocsv2.pl} + + # MaraDNS docs, manpages, misc + dodoc doc/en/{QuickStart,README,*.txt,*.html} + dodoc -r doc/en/{text,webpage,tutorial} + dodoc maradns.gpg.key + if ! use authonly; then + docinto deadwood + dodoc deadwood-${DEADWOOD_VER}/doc/{*.txt,*.html,CHANGELOG,Deadwood-HOWTO} + dodoc -r deadwood-${DEADWOOD_VER}/doc/internals + fi + + # Install examples (optional) + if use examples ; then + docinto examples + dodoc doc/en/examples/example_* + fi + + # Install manpages + doman doc/en/man/*.[1-9] + if ! use authonly; then + doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 + fi + + # Example configurations. + insinto /etc/maradns + newins doc/en/examples/example_full_mararc mararc_full.dist + newins doc/en/examples/example_csv2 example_csv2.dist + if ! use authonly; then + newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist + fi + keepdir /etc/maradns/logger + + # Init scripts. + newinitd "${FILESDIR}"/maradns2 maradns + newinitd "${FILESDIR}"/zoneserver2 zoneserver + if ! use authonly; then + newinitd "${FILESDIR}"/deadwood deadwood + fi + + # systemd unit + # please keep paths in sync! + sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \ + -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \ +
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 8a0d782a9a2d41306708ea6f3dc4904675d79844 Author: ktrace bks tv> AuthorDate: Wed Nov 29 21:31:10 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Dec 2 17:58:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0d782a net-dns/maradns: add maintainer New maintainer ktrace added. Package-Manager: Portage-2.3.13, Repoman-2.3.3 net-dns/maradns/metadata.xml | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/net-dns/maradns/metadata.xml b/net-dns/maradns/metadata.xml index e6602b75119..02f117e9d8f 100644 --- a/net-dns/maradns/metadata.xml +++ b/net-dns/maradns/metadata.xml @@ -1,8 +1,18 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - - Allows one to build only authoritative DNS server - + +coy...@bks.tv +Victor Kustov + + +proxy-ma...@gentoo.org +Proxy Maintainers + + +Allows one to build only authoritative DNS server + + +samboy/MaraDNS +
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: f9c37ec00fc0a00b36fb26ecc8c82761f6c1fa50 Author: Michael Palimaka gentoo org> AuthorDate: Sun Apr 30 11:53:00 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Sun Apr 30 11:53:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c37ec0 net-dns/maradns: remove 2.0.09-r1 Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-dns/maradns/maradns-2.0.09-r1.ebuild | 97 1 file changed, 97 deletions(-) diff --git a/net-dns/maradns/maradns-2.0.09-r1.ebuild b/net-dns/maradns/maradns-2.0.09-r1.ebuild deleted file mode 100644 index 29a8d50b8bc..000 --- a/net-dns/maradns/maradns-2.0.09-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils systemd toolchain-funcs user - -DEADWOOD_VER="3.2.05" - -DESCRIPTION="A security-aware DNS server" -HOMEPAGE="http://www.maradns.org/; -SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~mips ppc x86" -IUSE="authonly ipv6" - -DEPEND="" -RDEPEND="" - -pkg_setup() { - ebegin "Creating group and users" - enewgroup maradns 99 - enewuser duende 66 -1 -1 maradns - enewuser maradns 99 -1 -1 maradns - eend ${?} -} - -src_prepare() { - # Apply some minor patches from Debian. Last one - from Gentoo - epatch "${FILESDIR}/${PN}-2.0.06-askmara-tcp.patch" \ - "${FILESDIR}/${PN}-2.0.06-duende-man.patch" \ - "${FILESDIR}/${P}-build.patch" - epatch_user -} - -src_configure() { - # Use duende-ng.c. - cp "${S}/tools/duende-ng.c" "${S}/tools/duende.c" || die - - tc-export CC - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" -} - -src_install() { - # Install the MaraDNS binaries. - dosbin server/maradns - dosbin tcp/zoneserver - dobin tcp/getzone tcp/fetchzone - dobin tools/askmara tools/askmara-tcp tools/duende - dobin tools/bind2csv2.py tools/csv1tocsv2.pl - - # MaraDNS docs, manpages, misc. - dodoc doc/en/{QuickStart,README,*.txt} - dodoc doc/en/text/*.txt - doman doc/en/man/*.[1-9] - dodoc maradns.gpg.key - dohtml doc/en/*.html - dohtml -r doc/en/webpage - dohtml -r doc/en/tutorial - docinto examples - dodoc doc/en/examples/example_* - - # Deadwood binary, docs, manpages, etc. - if ! use authonly; then - dosbin deadwood-${DEADWOOD_VER}/src/Deadwood - doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 - docinto deadwood - dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende,FAQ}.txt - dohtml deadwood-${DEADWOOD_VER}/doc/{Deadwood,FAQ}.html - docinto deadwood/internals - dodoc deadwood-${DEADWOOD_VER}/doc/internals/* - insinto /etc/maradns - newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist - fi - - # Example configurations. - insinto /etc/maradns - newins doc/en/examples/example_full_mararc mararc_full.dist - newins doc/en/examples/example_csv2 example_csv2.dist - keepdir /etc/maradns/logger - - # Init scripts. - newinitd "${FILESDIR}"/maradns2 maradns - newinitd "${FILESDIR}"/zoneserver2 zoneserver - if ! use authonly; then - newinitd "${FILESDIR}"/deadwood deadwood - fi - - # systemd unit - # please keep paths in sync! - sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \ - -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \ - "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service - systemd_dounit "${T}"/maradns.service -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: f5e3a644313690ec2a2277ba6db96eca2a4e3cf2 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Apr 29 15:02:11 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Apr 29 15:02:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e3a644 net-dns/maradns: ppc stable wrt bug #616798 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/maradns/maradns-2.0.09-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-2.0.09-r2.ebuild b/net-dns/maradns/maradns-2.0.09-r2.ebuild index 54bf81298d2..2124be1f395 100644 --- a/net-dns/maradns/maradns-2.0.09-r2.ebuild +++ b/net-dns/maradns/maradns-2.0.09-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="amd64 ~mips ~ppc x86" +KEYWORDS="amd64 ~mips ppc x86" IUSE="authonly examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 58349c313e6853fe77cbe299a73151f96e70eeb7 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Apr 28 12:52:15 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Apr 28 12:52:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58349c31 net-dns/maradns: x86 stable wrt bug #616798 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/maradns/maradns-2.0.09-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/maradns/maradns-2.0.09-r2.ebuild b/net-dns/maradns/maradns-2.0.09-r2.ebuild index d4da70384e3..54bf81298d2 100644 --- a/net-dns/maradns/maradns-2.0.09-r2.ebuild +++ b/net-dns/maradns/maradns-2.0.09-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="amd64 ~mips ~ppc ~x86" +KEYWORDS="amd64 ~mips ~ppc x86" IUSE="authonly examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: b827d94525f8caa5af85c4f2a4e17477b20d5a11 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Apr 28 12:31:23 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Apr 28 12:31:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b827d945 net-dns/maradns: amd64 stable wrt bug #616798 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/maradns/maradns-2.0.09-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-dns/maradns/maradns-2.0.09-r2.ebuild b/net-dns/maradns/maradns-2.0.09-r2.ebuild index 58c64e4172b..d4da70384e3 100644 --- a/net-dns/maradns/maradns-2.0.09-r2.ebuild +++ b/net-dns/maradns/maradns-2.0.09-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,7 +14,7 @@ SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; # The GPL-2 covers the init script, bug 426018. LICENSE="BSD-2 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~x86" +KEYWORDS="amd64 ~mips ~ppc ~x86" IUSE="authonly examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: 213bd560303a32e1d9d72c86e5694757ab032b20 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Aug 3 21:35:02 2016 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Aug 3 21:35:02 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213bd560 net-dns/maradns: new revision to fix minor QA issues. The main reason for a new revision is to add "GPL-2" to the LICENSE per bug 426018. But with a revision, it made sense to update to EAPI=6, and perform the resulting cleanup in the ebuild. The src_prepare function was eliminated, and some dohtml calls were changed to dodoc. A missing die() was added, and the examples were moved behind USE=examples. Gentoo-Bug: 426018 Package-Manager: portage-2.2.28 net-dns/maradns/maradns-2.0.09-r2.ebuild | 102 +++ 1 file changed, 102 insertions(+) diff --git a/net-dns/maradns/maradns-2.0.09-r2.ebuild b/net-dns/maradns/maradns-2.0.09-r2.ebuild new file mode 100644 index 000..a9e44e7 --- /dev/null +++ b/net-dns/maradns/maradns-2.0.09-r2.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit systemd toolchain-funcs user + +DEADWOOD_VER="3.2.05" + +DESCRIPTION="A security-aware DNS server" +HOMEPAGE="http://www.maradns.org/; +SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; + +# The GPL-2 covers the init script, bug 426018. +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +IUSE="authonly examples ipv6" + +DEPEND="" +RDEPEND="" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.06-askmara-tcp.patch" + "${FILESDIR}/${PN}-2.0.06-duende-man.patch" + "${FILESDIR}/${P}-build.patch" +) + +pkg_setup() { + ebegin "Creating group and users" + enewgroup maradns 99 + enewuser duende 66 -1 -1 maradns + enewuser maradns 99 -1 -1 maradns + eend ${?} +} + +src_configure() { + # Use duende-ng.c. + cp "${S}/tools/duende-ng.c" "${S}/tools/duende.c" \ + || die "failed to rename duende-ng.c" + + tc-export CC + ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" +} + +src_install() { + # Install the MaraDNS binaries. + dosbin server/maradns + dosbin tcp/zoneserver + dobin tcp/getzone tcp/fetchzone + dobin tools/askmara tools/askmara-tcp tools/duende + dobin tools/bind2csv2.py tools/csv1tocsv2.pl + + # MaraDNS docs, manpages, misc. + dodoc doc/en/{QuickStart,README,*.txt} + dodoc doc/en/text/*.txt + doman doc/en/man/*.[1-9] + dodoc maradns.gpg.key + dodoc doc/en/*.html + dodoc -r doc/en/webpage + dodoc -r doc/en/tutorial + if use examples ; then + docinto examples + dodoc doc/en/examples/example_* + fi + + # Deadwood binary, docs, manpages, etc. + if ! use authonly; then + dosbin deadwood-${DEADWOOD_VER}/src/Deadwood + doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 + docinto deadwood + dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende,FAQ}.txt + dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,FAQ}.html + docinto deadwood/internals + dodoc deadwood-${DEADWOOD_VER}/doc/internals/* + insinto /etc/maradns + newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist + fi + + # Example configurations. + insinto /etc/maradns + newins doc/en/examples/example_full_mararc mararc_full.dist + newins doc/en/examples/example_csv2 example_csv2.dist + keepdir /etc/maradns/logger + + # Init scripts. + newinitd "${FILESDIR}"/maradns2 maradns + newinitd "${FILESDIR}"/zoneserver2 zoneserver + if ! use authonly; then + newinitd "${FILESDIR}"/deadwood deadwood + fi + + # systemd unit + # please keep paths in sync! + sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \ + -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \ + "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service \ + || die "failed to create the maradns.service file (sed)" + + systemd_dounit "${T}"/maradns.service +}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
commit: dd5cc62d937ce0de8d810d7bf0d03fad737e84da Author: Austin English gentoo org> AuthorDate: Thu Apr 28 22:42:59 2016 + Commit: Austin English gentoo org> CommitDate: Thu Apr 28 22:42:59 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5cc62d net-dns/maradns: remove maradns-2.0.09 Package-Manager: portage-2.2.26 net-dns/maradns/maradns-2.0.09.ebuild | 98 --- 1 file changed, 98 deletions(-) diff --git a/net-dns/maradns/maradns-2.0.09.ebuild b/net-dns/maradns/maradns-2.0.09.ebuild deleted file mode 100644 index 189839f..000 --- a/net-dns/maradns/maradns-2.0.09.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit eutils systemd toolchain-funcs user - -DEADWOOD_VER="3.2.05" - -DESCRIPTION="A security-aware DNS server" -HOMEPAGE="http://www.maradns.org/; -SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~mips ppc x86" -IUSE="authonly ipv6" - -DEPEND="" -RDEPEND="" - -pkg_setup() { - ebegin "Creating group and users" - enewgroup maradns 99 - enewuser duende 66 -1 -1 maradns - enewuser maradns 99 -1 -1 maradns - eend ${?} -} - -src_prepare() { - # Apply some minor patches from Debian. Last one - from Gentoo - epatch "${FILESDIR}/${PN}-2.0.06-askmara-tcp.patch" \ - "${FILESDIR}/${PN}-2.0.06-duende-man.patch" \ - "${FILESDIR}/${P}-build.patch" - epatch_user -} - -src_configure() { - # Use duende-ng.c. - cp "${S}/tools/duende-ng.c" "${S}/tools/duende.c" || die - - tc-export CC - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" -} - -src_install() { - # Install the MaraDNS binaries. - dosbin server/maradns - dosbin tcp/zoneserver - dobin tcp/getzone tcp/fetchzone - dobin tools/askmara tools/askmara-tcp tools/duende - dobin tools/bind2csv2.py tools/csv1tocsv2.pl - - # MaraDNS docs, manpages, misc. - dodoc doc/en/{QuickStart,README,*.txt} - dodoc doc/en/text/*.txt - doman doc/en/man/*.[1-9] - dodoc maradns.gpg.key - dohtml doc/en/*.html - dohtml -r doc/en/webpage - dohtml -r doc/en/tutorial - docinto examples - dodoc doc/en/examples/example_* - - # Deadwood binary, docs, manpages, etc. - if ! use authonly; then - dosbin deadwood-${DEADWOOD_VER}/src/Deadwood - doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 - docinto deadwood - dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende,FAQ}.txt - dohtml deadwood-${DEADWOOD_VER}/doc/{Deadwood,FAQ}.html - docinto deadwood/internals - dodoc deadwood-${DEADWOOD_VER}/doc/internals/* - insinto /etc/maradns - newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist - fi - - # Example configurations. - insinto /etc/maradns - newins doc/en/examples/example_full_mararc mararc_full.dist - newins doc/en/examples/example_csv2 example_csv2.dist - keepdir /etc/maradns/logger - - # Init scripts. - newinitd "${FILESDIR}"/maradns2 maradns - newinitd "${FILESDIR}"/zoneserver2 zoneserver - if ! use authonly; then - newinitd "${FILESDIR}"/deadwood deadwood - fi - - # systemd unit - # please keep paths in sync! - sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \ - -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \ - "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service - systemd_dounit "${T}"/maradns.service -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/, net-dns/maradns/files/
commit: 70d311026cfc6e9fb80c19ffc063c712ed091f29 Author: Austin English gentoo org> AuthorDate: Thu Apr 28 22:42:00 2016 + Commit: Austin English gentoo org> CommitDate: Thu Apr 28 22:42:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d31102 net-dns/maradns: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 net-dns/maradns/files/deadwood | 4 +- net-dns/maradns/files/maradns2 | 4 +- net-dns/maradns/files/zoneserver2| 4 +- net-dns/maradns/maradns-2.0.09-r1.ebuild | 98 4 files changed, 104 insertions(+), 6 deletions(-) diff --git a/net-dns/maradns/files/deadwood b/net-dns/maradns/files/deadwood index d9e8175..69fe0a4 100644 --- a/net-dns/maradns/files/deadwood +++ b/net-dns/maradns/files/deadwood @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-dns/maradns/files/maradns2 b/net-dns/maradns/files/maradns2 index cc6915f..a6fb9e4 100644 --- a/net-dns/maradns/files/maradns2 +++ b/net-dns/maradns/files/maradns2 @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-dns/maradns/files/zoneserver2 b/net-dns/maradns/files/zoneserver2 index 6c6486d..b2abe26 100644 --- a/net-dns/maradns/files/zoneserver2 +++ b/net-dns/maradns/files/zoneserver2 @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-dns/maradns/maradns-2.0.09-r1.ebuild b/net-dns/maradns/maradns-2.0.09-r1.ebuild new file mode 100644 index 000..42c2d00 --- /dev/null +++ b/net-dns/maradns/maradns-2.0.09-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils systemd toolchain-funcs user + +DEADWOOD_VER="3.2.05" + +DESCRIPTION="A security-aware DNS server" +HOMEPAGE="http://www.maradns.org/; +SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2; + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ~mips ppc x86" +IUSE="authonly ipv6" + +DEPEND="" +RDEPEND="" + +pkg_setup() { + ebegin "Creating group and users" + enewgroup maradns 99 + enewuser duende 66 -1 -1 maradns + enewuser maradns 99 -1 -1 maradns + eend ${?} +} + +src_prepare() { + # Apply some minor patches from Debian. Last one - from Gentoo + epatch "${FILESDIR}/${PN}-2.0.06-askmara-tcp.patch" \ + "${FILESDIR}/${PN}-2.0.06-duende-man.patch" \ + "${FILESDIR}/${P}-build.patch" + epatch_user +} + +src_configure() { + # Use duende-ng.c. + cp "${S}/tools/duende-ng.c" "${S}/tools/duende.c" || die + + tc-export CC + ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}" +} + +src_install() { + # Install the MaraDNS binaries. + dosbin server/maradns + dosbin tcp/zoneserver + dobin tcp/getzone tcp/fetchzone + dobin tools/askmara tools/askmara-tcp tools/duende + dobin tools/bind2csv2.py tools/csv1tocsv2.pl + + # MaraDNS docs, manpages, misc. + dodoc doc/en/{QuickStart,README,*.txt} + dodoc doc/en/text/*.txt + doman doc/en/man/*.[1-9] + dodoc maradns.gpg.key + dohtml doc/en/*.html + dohtml -r doc/en/webpage + dohtml -r doc/en/tutorial + docinto examples + dodoc doc/en/examples/example_* + + # Deadwood binary, docs, manpages, etc. + if ! use authonly; then + dosbin deadwood-${DEADWOOD_VER}/src/Deadwood + doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1 + docinto deadwood + dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende,FAQ}.txt + dohtml deadwood-${DEADWOOD_VER}/doc/{Deadwood,FAQ}.html + docinto deadwood/internals + dodoc deadwood-${DEADWOOD_VER}/doc/internals/* + insinto /etc/maradns + newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist + fi + + # Example configurations. + insinto /etc/maradns + newins doc/en/examples/example_full_mararc mararc_full.dist + newins doc/en/examples/example_csv2 example_csv2.dist + keepdir /etc/maradns/logger + + # Init scripts. + newinitd "${FILESDIR}"/maradns2 maradns + newinitd "${FILESDIR}"/zoneserver2 zoneserver + if ! use authonly; then + newinitd
[gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/
commit: 354597dde07e9de89f121f06b9ef6e2c449dc349 Author: Austin English gentoo org> AuthorDate: Thu Apr 28 22:09:32 2016 + Commit: Austin English gentoo org> CommitDate: Thu Apr 28 22:09:32 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=354597dd net-dns/maradns: remove unused init scripts net-dns/maradns/files/maradns.rc6| 23 --- net-dns/maradns/files/zoneserver.rc6 | 21 - 2 files changed, 44 deletions(-) diff --git a/net-dns/maradns/files/maradns.rc6 b/net-dns/maradns/files/maradns.rc6 deleted file mode 100644 index 32db2e4..000 --- a/net-dns/maradns/files/maradns.rc6 +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - need net - provide dns -} - -start() { - ebegin "Starting maradns" - start-stop-daemon --start --quiet --name maradns \ - --exec /usr/bin/duende /usr/sbin/maradns - eend $? -} - -stop() { - ebegin "Stopping maradns" - start-stop-daemon --stop --quiet --name maradns \ - --exec /usr/sbin/duende - eend $? -} diff --git a/net-dns/maradns/files/zoneserver.rc6 b/net-dns/maradns/files/zoneserver.rc6 deleted file mode 100644 index 9d175a6..000 --- a/net-dns/maradns/files/zoneserver.rc6 +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - need net -} - -start() { - ebegin "Starting zoneserver" - start-stop-daemon --start --quiet --name zoneserver \ - --exec /usr/bin/duende /usr/sbin/zoneserver - eend $? -} - -stop() { - ebegin "Stopping zoneserver" - start-stop-daemon --stop --quiet --name zoneserver - eend $? -}