diff options
Diffstat (limited to 'net-dns/getdns')
-rw-r--r-- | net-dns/getdns/Manifest | 3 | ||||
-rw-r--r-- | net-dns/getdns/files/getdns-1.4.2-stubby.service.patch | 16 | ||||
-rw-r--r-- | net-dns/getdns/getdns-1.4.2-r1.ebuild (renamed from net-dns/getdns/getdns-1.4.2.ebuild) | 4 |
3 files changed, 21 insertions, 2 deletions
diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest index 1b4a44f3702b..9729a94923ad 100644 --- a/net-dns/getdns/Manifest +++ b/net-dns/getdns/Manifest @@ -1,6 +1,7 @@ +AUX getdns-1.4.2-stubby.service.patch 568 BLAKE2B f2e605116f924b109bf2cd734c8eb79314aeb02b0e30e2fd8d62117b44a74f20e64b1b527253a09525ad9ab26aa2a64a51940773064de87e295d1831dfe9e51b SHA512 67c88787d48662d5c555cd2cdff5916a2211aaf45a13b41e0a909d703dcbc66cb3de834cc94b7c3d292d16a99d024b07098b4e0bb1c790e48201ca9ffb598bd2 AUX stubby.confd-r1 546 BLAKE2B 2f81b79b290264701ee75029ee61e006e7f6e2425ebd8090e2f07d4aed4903b88e07576893f653a8704f5181b3fb67f51327e41fef909bc56f5022bf124a4183 SHA512 10793c0ab9081c083dd702b57ffd864aa5a6d76f678eeb704b577188c0a00536f39f2dbb960d8333564b99981a5e2d4414802ffa8506b7cb41fc517680e2b78c AUX stubby.initd-r1 636 BLAKE2B 1f8e96c0b844837af8d46f12c80750979be3e763bd7ac08b956f69a8fd4fd9cdf018cc666e1fc47a324ee3960e358489e01b8da6d7d09cae8dffe9cff1b38b90 SHA512 556c35dbcdc157668308e502895519e73fa723074bc8cb1d7cbfd762e0831a584be67a9204744dad17ff4ffaaf9b97b67ed60acfc6ef56e44e240c51d2f783b0 AUX stubby.logrotate 76 BLAKE2B f68efa844df0a0b97bcfaa117fa74b0c314df18d4aefd9b934f9b9b9f9001a41ebaf148d266272529c594a79eb27c0b99ff9f30d4c519f91128d35b4ea87eb22 SHA512 c4f1de3789debd1d51a47499960b6f688bc594b4beb01062a55c5623a6ceb07d03705e4f411c9a0cc88442af223120b29c46a9dc72c600477d3e598f9c02c805 DIST getdns-1.4.2.tar.gz 1059122 BLAKE2B 79399bb70e58bf449e99052c9f32ebb9d4e6ac26c753d99963d591661ee04ccfaf58e4f35589187a9a89fd9bccc0bff9d319c8b11da9522fbb17a915612ce9bd SHA512 fbbbe80df0f66e295c590c1751c11fcfc66efa200203ce1fdc11a471130fbaa837fa6bade076e17e1dac03d71c3522a67a660f2bdb4766aead19119da355bdd4 -EBUILD getdns-1.4.2.ebuild 1884 BLAKE2B 18700c0594d4a5110b821ec97a38bb33130af3b0d7dca311a4fa18442cc88feec11775f7781878d56b6462566c35a0691dca117a056a99cfdcc18a63a2ea61e0 SHA512 89bf649f84c0774189048cdc2608504aeffdf34759e6914c0b75a13b2abd8a5f8ca9c5321f6e06dd872a1acbb58e4f657a80d608c602d4bb5dd713a6abcce4f2 +EBUILD getdns-1.4.2-r1.ebuild 1946 BLAKE2B 2df36495ee4e8f41f92f1aa052f620000bb0300652cbf176049b3b56079c7097b3161a0dacf333ed97246b6a6ea3c25cd61b6158b549ffcf84bcca2bee7c5775 SHA512 fea036ed04e79948e86dc1f8d669faed7d8cff5332958080407e60ac8a32f2fb60a29c79855c9ce3a683854b168e428fa0cfa9166e1cd1dc39a2e3749aaf989e MISC metadata.xml 857 BLAKE2B 25a516aa2d67d8ce5961b8a99d71f355fb99f163ccbbeee29c7c505729ba76735b7d6977f5aa8cb60b328943c715a9dbb4652b4e3133009e220c1db0de9cf875 SHA512 33065cbe6ddfa2b0382d55a0441a819f2d4795cd458fe6b53d4da444b9542d49781d7dcf7b11615c46e3157bdc1deab89c765a24ee100c67687fb64cd2099bd1 diff --git a/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch new file mode 100644 index 000000000000..2bb7546fcfa5 --- /dev/null +++ b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch @@ -0,0 +1,16 @@ +diff -ur a/stubby/systemd/stubby.service b/stubby/systemd/stubby.service +--- a/stubby/systemd/stubby.service 2018-05-11 13:25:22.000000000 +0200 ++++ b/stubby/systemd/stubby.service 2018-06-20 15:40:23.650164668 +0200 +@@ -3,9 +3,11 @@ + + [Service] + User=stubby +-DynamicUser=yes ++DynamicUser=no + CacheDirectory=stubby + WorkingDirectory=/var/cache/stubby ++ExecStartPre=/bin/mkdir -p /var/cache/stubby ++ExecStartPre=/bin/chown stubby:stubby /var/cache/stubby + ExecStart=/usr/bin/stubby + AmbientCapabilities=CAP_NET_BIND_SERVICE + CapabilityBoundingSet=CAP_NET_BIND_SERVICE diff --git a/net-dns/getdns/getdns-1.4.2.ebuild b/net-dns/getdns/getdns-1.4.2-r1.ebuild index c0978a76f061..28d7a6c9c3c9 100644 --- a/net-dns/getdns/getdns-1.4.2.ebuild +++ b/net-dns/getdns/getdns-1.4.2-r1.ebuild @@ -30,6 +30,8 @@ RDEPEND=" stubby? ( sys-libs/libcap:= ) " +PATCHES=( "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" ) + src_configure() { econf \ --runstatedir=/var/run \ @@ -43,7 +45,7 @@ src_configure() { $(use_with libevent) \ $(use_with libev) \ $(use_with libuv) \ - $(use_with threads libpthread) + $(use_with threads libpthread) \ $(use_enable static-libs static) } |