Browse Source

dns/stubby: Add Stubby DNS Privacy Daemon v0.2.6

master
Bernhard Fröhlich 3 months ago
parent
commit
9977a99c0f
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
5 changed files with 80 additions and 0 deletions
  1. 28
    0
      dns/stubby/Makefile
  2. 3
    0
      dns/stubby/distinfo
  3. 34
    0
      dns/stubby/files/stubby.in
  4. 6
    0
      dns/stubby/pkg-descr
  5. 9
    0
      dns/stubby/pkg-plist

+ 28
- 0
dns/stubby/Makefile View File

@@ -0,0 +1,28 @@
1
+# $FreeBSD$
2
+
3
+PORTNAME=	stubby
4
+PORTVERSION=	0.2.6
5
+DISTVERSIONPREFIX=	v
6
+CATEGORIES=	dns ipv6
7
+
8
+MAINTAINER=	decke@FreeBSD.org
9
+COMMENT=	DNS Privacy stub resolver
10
+
11
+LICENSE=	BSD3CLAUSE
12
+LICENSE_FILE=	${WRKSRC}/COPYING
13
+
14
+LIB_DEPENDS=	libgetdns.so:dns/getdns \
15
+		libyaml.so:textproc/libyaml
16
+
17
+USES=		autoreconf gmake
18
+
19
+USE_GITHUB=	yes
20
+GH_ACCOUNT=	getdnsapi
21
+
22
+GNU_CONFIGURE=	yes
23
+CONFIGURE_ARGS=	CFLAGS="-I${LOCALBASE}/include" \
24
+		LDFLAGS="-L${LOCALBASE}/lib"
25
+
26
+USE_RC_SUBR=	stubby
27
+
28
+.include <bsd.port.mk>

+ 3
- 0
dns/stubby/distinfo View File

@@ -0,0 +1,3 @@
1
+TIMESTAMP = 1555428267
2
+SHA256 (getdnsapi-stubby-v0.2.6_GH0.tar.gz) = 634b0b9fb8f36416e210fa65800a6c1672bcf9f4f276a042ccf89567ad8ef781
3
+SIZE (getdnsapi-stubby-v0.2.6_GH0.tar.gz) = 50774

+ 34
- 0
dns/stubby/files/stubby.in View File

@@ -0,0 +1,34 @@
1
+#!/bin/sh
2
+#
3
+# $FreeBSD: head/dns/getdns/files/stubby.in 468888 2018-05-02 22:04:17Z zi $
4
+#
5
+
6
+# PROVIDE: stubby
7
+# REQUIRE: NETWORKING SERVERS
8
+# BEFORE: DAEMON
9
+# KEYWORD: shutdown
10
+
11
+#
12
+# Add some of the following variables to /etc/rc.conf to configure stubby:
13
+# stubby_enable (bool):	Set to "NO" by default.
14
+#				Set it to "YES" to enable stubby.
15
+# stubby_config (str):		Default "%%PREFIX%%/etc/stubby.conf"
16
+#				Set it to the full path to the config file
17
+#				that stubby will use during the automated
18
+#				start-up.
19
+
20
+. /etc/rc.subr
21
+
22
+name="stubby"
23
+rcvar=stubby_enable
24
+
25
+load_rc_config $name
26
+
27
+: ${stubby_enable="NO"}
28
+: ${stubby_config="%%PREFIX%%/etc/stubby/stubby.yml"}
29
+
30
+command="%%PREFIX%%/bin/stubby"
31
+command_args="-g -C ${stubby_config}"
32
+
33
+required_files=${stubby_config}
34
+run_rc_command "$1"

+ 6
- 0
dns/stubby/pkg-descr View File

@@ -0,0 +1,6 @@
1
+Stubby is an application that acts as a local DNS Privacy stub resolver (using
2
+DNS-over-TLS). Stubby encrypts DNS queries sent from a client machine (desktop
3
+or laptop) to a DNS Privacy resolver increasing end user privacy. Stubby is in
4
+the early stages of development but is suitable for technical/advanced users.
5
+
6
+WWW: https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby

+ 9
- 0
dns/stubby/pkg-plist View File

@@ -0,0 +1,9 @@
1
+bin/stubby
2
+@sample %%ETCDIR%%/stubby.yml.example
3
+man/man1/stubby.1.gz
4
+%%DOCSDIR%%/AUTHORS
5
+%%DOCSDIR%%/COPYING
6
+%%DOCSDIR%%/ChangeLog
7
+%%DOCSDIR%%/INSTALL
8
+%%DOCSDIR%%/NEWS
9
+%%DOCSDIR%%/README.md

Loading…
Cancel
Save