Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 478172

Summary: net-dns/adsuck-2.5.0 - a small DNS server that spoofs blacklisted addresses and forwards all other queries
Product: Gentoo Linux Reporter: Amadeusz Sławiński <amade>
Component: [OLD] UnspecifiedAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bugzie
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://opensource.conformal.com/wiki/Adsuck
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: adsuck-2.5.0.ebuild
service file for openrc
updated ebuild
updated service file for openrc

Description Amadeusz Sławiński 2013-07-25 19:59:56 UTC
Created attachment 354204 [details]
adsuck-2.5.0.ebuild

adsuck is a small DNS server that spoofs blacklisted addresses and forwards all other queries. The idea is to be able to prevent connections to undesirable sites such as ad servers, crawlers and other nasties. It can be used locally, for the road warrior, or on the network perimeter in order to protect machines from malicious sites. It also has the capability to match website names using regex and there is also a mechanism to spoof DNS queries to specified IP addresses.
Comment 1 Amadeusz Sławiński 2013-07-25 20:00:25 UTC
Created attachment 354206 [details]
service file for openrc
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-26 15:37:09 UTC
Comment on attachment 354204 [details]
adsuck-2.5.0.ebuild

>EAPI=5

With this EAPI, all internal functions ("do*") die() on their own.

>DESCRIPTION="adsuck is a small DNS server that spoofs blacklisted addresses and forwards all other queries."

Don't put ${PN} in the DESCRIPTION.
No need for a period at the end.

>SRC_URI="https://opensource.conformal.com/snapshots/adsuck/adsuck-${PV}.tgz"

adsuck => ${PN}
adsuck-${PV} => ${P}

>LICENSE=""

That's not allowed. LICENSE should be specific.

>src_install() {
>	dosbin adsuck || die
>
>    dodoc README || die
>
>	doman *.8 || die

See EAPI=5 comment above.
Comment 3 Amadeusz Sławiński 2013-07-26 16:01:56 UTC
Created attachment 354250 [details]
updated ebuild

suggested changes + missing dependency
Comment 4 Amadeusz Sławiński 2013-07-26 16:03:08 UTC
Created attachment 354252 [details]
updated service file for openrc

it sends its output to stderr so nothing was being logged
Comment 5 Amadeusz Sławiński 2017-09-13 13:44:30 UTC
Unmaintained upstream.