aboutsummaryrefslogtreecommitdiffstats
path: root/dns/sheerdns
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-07-31 18:56:45 +0800
committerpi <pi@FreeBSD.org>2016-07-31 18:56:45 +0800
commit330d95f841bf8a755a3778475670cce814a6b317 (patch)
tree128564aca847844396aff68c66095d6cf6611fbb /dns/sheerdns
parentbb5ec3be863a67f422c23603e4736fdeb400a6fa (diff)
downloadfreebsd-ports-gnome-330d95f841bf8a755a3778475670cce814a6b317.tar.gz
freebsd-ports-gnome-330d95f841bf8a755a3778475670cce814a6b317.tar.zst
freebsd-ports-gnome-330d95f841bf8a755a3778475670cce814a6b317.zip
dns/sheerdns: 1.0.3 -> 1.04
- New MASTER_SITES, old one gone - provide a new web site - add license (BSD 2 clause) - take MAINTAINER, currently ports@ - pkg-descr - additions, and reflow PR: 211412 Submitted by: Chris Hutchinson <portmaster@bsdforge.com>
Diffstat (limited to 'dns/sheerdns')
-rw-r--r--dns/sheerdns/Makefile22
-rw-r--r--dns/sheerdns/distinfo4
-rw-r--r--dns/sheerdns/files/patch-Makefile11
-rw-r--r--dns/sheerdns/pkg-descr15
4 files changed, 33 insertions, 19 deletions
diff --git a/dns/sheerdns/Makefile b/dns/sheerdns/Makefile
index 1a75d417f91d..84cc0f7ed751 100644
--- a/dns/sheerdns/Makefile
+++ b/dns/sheerdns/Makefile
@@ -2,22 +2,34 @@
# $FreeBSD$
PORTNAME= sheerdns
-PORTVERSION= 1.0.3
-PORTREVISION= 1
+PORTVERSION= 1.04
CATEGORIES= dns
-MASTER_SITES= http://threading.2038bug.com/sheerdns/
+MASTER_SITES= http://bsdforge.com/projects/source/dns/sheerdns/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= portmaster@BSDforge.com
COMMENT= Lightweight, simple, and fast master DNS server
-USES= gmake
+LICENSE= BSD2CLAUSE
+LICENSE_FILES= ${WRKSRC}/LICENSE
+
+DOCS= sheerdns.ps sheerdns.html
+PORTDOCS= *
+
+USES= gmake tar:xz
PLIST_FILES= man/man8/sheerdns.8.gz sbin/sheerdns sbin/sheerdnshash
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= DOCS
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdns
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sheerdnshash
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
+
.include <bsd.port.mk>
diff --git a/dns/sheerdns/distinfo b/dns/sheerdns/distinfo
index 4611eeebb9e0..cc6d1029fdb4 100644
--- a/dns/sheerdns/distinfo
+++ b/dns/sheerdns/distinfo
@@ -1,2 +1,2 @@
-SHA256 (sheerdns-1.0.3.tar.gz) = 4155c0ad33defb8bc7ce90fa4ecc31bd7e7562478cbfc7b46aaa0f25f0b5b4fb
-SIZE (sheerdns-1.0.3.tar.gz) = 22937
+SHA256 (sheerdns-1.04.tar.xz) = 890d0c4735179b20d2ac9b5a2fa9f7a94849ba880bd8afb919305c677aa44475
+SIZE (sheerdns-1.04.tar.xz) = 22404
diff --git a/dns/sheerdns/files/patch-Makefile b/dns/sheerdns/files/patch-Makefile
index 55dedbf17124..dbb66955990b 100644
--- a/dns/sheerdns/files/patch-Makefile
+++ b/dns/sheerdns/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2003-04-12 10:04:41.000000000 +0200
-+++ Makefile 2011-06-23 00:18:51.000000000 +0200
+--- Makefile.orig 2016-07-27 04:50:31 UTC
++++ Makefile
@@ -1,5 +1,6 @@
-CFLAGS=-Wall -g -O0 -ansi -pedantic
@@ -8,7 +8,7 @@
SRCS=$(wildcard *.c)
-@@ -8,13 +9,13 @@
+@@ -8,13 +9,13 @@ all: sheerdns sheerdnshash sheerdns.ps
OBJECTS=$(SRCS:.c=.o)
sheerdns: $(OBJECTS)
@@ -25,8 +25,8 @@
clean:
rm -f sheerdns sheerdnshash *.o
-@@ -26,7 +27,6 @@
- groff -Tps -mandoc sheerdns.8 > sheerdns.ps
+@@ -26,6 +27,5 @@ sheerdns.ps:
+ groff -t sheerdns.8 > sheerdns.ps
install: all
- install sheerdnshash sheerdns /usr/sbin/
@@ -34,4 +34,3 @@
- install sheerdns.8 /usr/man/man8/
+ install sheerdnshash sheerdns $(DESTDIR)$(PREFIX)/sbin
+ install sheerdns.8 $(DESTDIR)$(MANPREFIX)/man/man8
-
diff --git a/dns/sheerdns/pkg-descr b/dns/sheerdns/pkg-descr
index e68c65759be2..f2feb19ef8f7 100644
--- a/dns/sheerdns/pkg-descr
+++ b/dns/sheerdns/pkg-descr
@@ -1,8 +1,11 @@
sheerdns is a master DNS server whose zone records are stored on a
-One-Record-Per-File bases. Because of this, sheerdns is the simplest of any DNS
-to configure, the easiest to update, and the most efficient for networks that
-experience a lot of updates (for example master servers for dynamic IP address
-ranges). You never have to restart sheerdns; any updates are available
-immediately without having to notify the sheerdns process.
+one-record-per-file bases. Because of this, sheerdns is likely the
+simplest DNS to configure, use, update, and operate. It's especially
+efficient for networks with frequent updates -- serving DHCP, for example.
+Updates to the zones are immediate, and do not require restarting sheerdns.
-WWW: http://threading.2038bug.com/sheerdns/
+SheerDNS is a good candidate for creating and RBL for mail, or web sites,
+as well as for providing DNS on embeded systems. Or anything else that
+requires a fast DNS, with very low overhead.
+
+WWW: http://BSDforge.com/projects/dns/sheerdns/