From c8527a67148457be6cbe7845ccabcc25a96ffc8c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 8 Dec 2013 15:01:18 -0500 Subject: [PATCH] net-dns/rbldnsd: Don't depend on net in the init script. net-dns/rbldnsd: Listen on "localhost" by default instead of "127.0.0.1 192.168.0.0.1" net-dns/rbldnsd: Add a note to the conf file about depending on other interfaces. Test commit signing. Package-Manager: portage-2.2.7 Manifest-Sign-Key: 0x6F48D3DA05C2DADB! --- net-dns/rbldnsd/Manifest | 26 ++++++++++++++++++++++++-- net-dns/rbldnsd/files/confd-0.997a | 17 +++++++++++++++-- net-dns/rbldnsd/files/initd-0.997a | 6 +----- 3 files changed, 40 insertions(+), 9 deletions(-) diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest index 16c4bfa..f8976e2 100644 --- a/net-dns/rbldnsd/Manifest +++ b/net-dns/rbldnsd/Manifest @@ -1,6 +1,28 @@ -AUX confd-0.997a 1003 SHA256 32ce431bafc75203b2a6d4e7b0ea19a7bbbcfeb9ef03983cdc9fff027b915d65 SHA512 b7560453c82467a5b0ea0a1f3644f57ec745246d2f689beb77f2498ae962fd80257413c1eede4d62552f7ce402fe43ac6a5ed5906a54ca06a315205e116c3324 WHIRLPOOL 26ff5468d9d296b9726c933375c5cccda6446dd5c9fe239de5e9b4c0439776fb30bec3903919b28dd321763af302d6572c43463c9cf98ba47744fd587a166248 -AUX initd-0.997a 677 SHA256 41effc1aea5838042a626a24f8926b413c51224e9f2af8377bbf1b2e32f0135a SHA512 530c273ea1267fe39c6a3180fa8088bd05a2c52d4ec72c25a3652306a69b3f421afde5f981a9968f998861f8543dbb9ac840227111d5813911ccf862ea33275f WHIRLPOOL 7814524f76c90ae50a079bf0a3d31f797672acc8601005f41fe783dcb33947485b7295fd8e060d0c4c2ead1315b05c2abcc32207d3669849ffe6bb3cda15b278 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX confd-0.997a 1370 SHA256 dc440295d2a45023a1fdf6f1c16fea7b6c0608082b250b1150dc85278e36fac3 SHA512 5518ceeaf6ae674a301c9b77f8a3654bf6f06c65acdf7107b01f165e92c4cd1c290d89060cc4242ef504e790eca42548cef432cbdbd8e9d05685e25adee234db WHIRLPOOL be2ba3f0bb1ffcb840f2d78ec02e95c8b571430856e0697285ffedc1d7b99ded8034a5e99e7290bd79b99078d5aaad573fd3c58257441c0bc7db8396c4c0215a +AUX initd-0.997a 558 SHA256 b8861f0206be96bcdc7ed392694790a08496c67ac172800b2d0e0d33a234f1ed SHA512 e2d2669024bc4831f7fd8ccd598386553f61280aa3fb3d22e7d2aa9b1cf23a1847cfa627bcfe5ba847cdf5cf14eb5fc75fa9b2525bf54889e33450fcaeea44d7 WHIRLPOOL cf0f69931c0a251c7e69a8befe9637253b905b8f8d29ade9c6de0c768ec8c053fb7d563414eb20dfee3f7512e135a81375b0049dc9e03cc536d34112f2d88e04 AUX rbldnsd-0.997a-robust-ipv6-test-support.patch 10866 SHA256 a1e29bc52a2d69c73c50300628aba0187556491246c54fbd6bb518e231f0bf89 SHA512 37f47f5305c074a8d1267f0879fe96a311589321a11db61ac27f5cc9db246f126811cc86343a4535a14487a52dc30312c70783470a154e8e750f276098d3e5a8 WHIRLPOOL e2366b5064768b105980d4c8f8572d93b7a24b45f8fddd9ec34944017fc5de3037c6808ffeeb40b6107751ebb617b8dc22aaff36363dbfd6010b207be8b352b4 DIST rbldnsd-0.997a.tar.gz 144771 SHA256 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef SHA512 9a3e1a0ad2cd9dd08bcc114c70213a875e984f3761fa32c44fe544d8173f54330fe355ad229a120e64b8f4c8286187d0baa055526d3a85bc846df070bb213529 WHIRLPOOL b453396c9876fd4972c6028b5916ae9717d60d555e5bb33bc97f0a8910ee516a80d1a3cb6030a3850ec304794f4a00fd9f3dced0d5c7fd1388e7d87d53fedb24 EBUILD rbldnsd-0.997a.ebuild 1563 SHA256 585a0c3c316ece2aeb355863ec91388a36b9247a3dfa76519bc97540c33a4ca0 SHA512 745593f57c48035731ae6e70ce9aefb7c8cd3def3c697287c6aae38f8d80882fdf7a099ad410d574d188b6ffadc394a3dd4f5b6cd42e5ff0f03fee0fd09a5780 WHIRLPOOL 69ca8650ca08073d77d375926a4aa00926403b86efe6bad617816b51182410556481c79b8538ed7c030b8a8f16824278c03e591b8edee7e61c811472655b44b2 MISC metadata.xml 1179 SHA256 6a9d5a1772e174859bf13dbe53a955671ad97eeb8322dd6ff9772046460e017d SHA512 d2f2925bd8de92dc0d9dffce03b0ce8a61c28a0abbbdc3ca21ca10ac3f22a773dcbf19e880563e0557a1512fe3e0586f3b4ef5abd0b6add8278e6b24ea709051 WHIRLPOOL 42f38dbd07679c6e1ceb9d3b054928e5a0f3befdb8d4f5e74b3b23a486bb98066bc7a44e2dab05ef39465f44e41ad815a0cc3f7a32add5bff84c78a484a986c6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQJ8BAEBCABmBQJSpNAOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxNEU5RDcyRDdCMUFGREVGQzBCNDFDMUY2 +RjQ4RDNEQTA1QzJEQURCAAoJEG9I09oFwtrbatEP/igMMA7AWIHnJWpGQvVCG0lw +Xks9t2y78qgxzC8tIK427XfjMNQmzzlRw9BkdsBajWcCa6jGGclmJGmLxKMdf6v2 +y5Cu+7j2P9QaZoetMugROIlFQTExZVU6YigN+1kePAWMFDGvQj6m3QKcCpNgOSQg +smlT5BkbNMuKzgoDPdjpnI/tu/OiT0phyY1yrh8PjrIRUaNW2m6a/wiV3TbvtecU +lrdoesOdUKfO9mWK7+fHU755gcLH8cGDabtjy/QyA+uJa9amdLOBFTkDN2KINB7m +/yrLVgaqVD/sqj8usZ0QOr2spH1cmpn0726s/p0APXLbamS8dv8ZHUR4rSNhoiCA +0HNC1HcG7RQ7CcmqFBSNFVwhUT/XJy/qil4414coSSVfmuGsm4TiipcqQ8wbd6M1 +vhEq6mcFObnYoUtXk5y9HkBqsL7+7ohugrvKfSxVP5ZZQaDbt1PI4UVUEA/RFPJr +ZmwP/LaFVsdcIOmKS3BOqOwKasw3gAtEt9ut2OeL2PsW/aM4b7OJ+dIkxH2skA7g +2frn5aMhSUCYzJXdSHK1YDXdDZiM+MfVD3IEVkv1r+Ee7yMJnfCh0FWNLAK0Sayr +9it8P7CBLhTrln5rW/fbHZopgjdV42B6+esI7Et13AS8tbXFtLvq5o5br7EAmnDJ +UJ+NJO0D+PEWtUk8jmJ8 +=qVXN +-----END PGP SIGNATURE----- diff --git a/net-dns/rbldnsd/files/confd-0.997a b/net-dns/rbldnsd/files/confd-0.997a index afe0cff..0fb7685 100644 --- a/net-dns/rbldnsd/files/confd-0.997a +++ b/net-dns/rbldnsd/files/confd-0.997a @@ -1,7 +1,19 @@ # A whitespace-separated list of addresses on which to listen. The # syntax is "host:port", where the port defaults to 53. -LISTEN="127.0.0.1 - 192.168.0.1" +# +# Note that by default the rbldnsd init script does not require any +# interfaces other than lo to be "up" (see bug #439092). So if you +# LISTEN on a non-loopback interface, you should specify a dependency +# on that interface using rc_need. An example is given below assuming +# that net.lan0 provides 192.168.0.1. +# +# rc_need="net.lan0" +# +# LISTEN="127.0.0.1 +# 192.168.0.1" +# +LISTEN="localhost" + # A whitespace-separated list of RBL zones. For the correct syntax, please # see the rbldnsd(8) man page. The following $ZONES will look for @@ -11,6 +23,7 @@ LISTEN="127.0.0.1 ZONES="badguys.example.com:ip4set:badguys.example.com spammers.example.net:ip4tset:spammers.example.net" + # Add any additional options for the rbldnsd daemon below. The -a and # -vv below are suggested for performance/security reasons. They are # described in the man page. diff --git a/net-dns/rbldnsd/files/initd-0.997a b/net-dns/rbldnsd/files/initd-0.997a index 6e830b3..8d3548e 100644 --- a/net-dns/rbldnsd/files/initd-0.997a +++ b/net-dns/rbldnsd/files/initd-0.997a @@ -1,11 +1,7 @@ #!/sbin/runscript # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/rbldnsd/files/initd-0.997,v 1.1 2013/07/08 17:08:52 xmw Exp $ - -depend() { - need net -} +# $Header: $ start() { ebegin "Starting rbldnsd" -- 2.44.2