Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2016 10:56:45 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419359 - in head/dns/sheerdns: . files
Message-ID:  <201607311056.u6VAujBo016621@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Jul 31 10:56:45 2016
New Revision: 419359
URL: https://svnweb.freebsd.org/changeset/ports/419359

Log:
  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>

Modified:
  head/dns/sheerdns/Makefile
  head/dns/sheerdns/distinfo
  head/dns/sheerdns/files/patch-Makefile
  head/dns/sheerdns/pkg-descr

Modified: head/dns/sheerdns/Makefile
==============================================================================
--- head/dns/sheerdns/Makefile	Sun Jul 31 10:44:24 2016	(r419358)
+++ head/dns/sheerdns/Makefile	Sun Jul 31 10:56:45 2016	(r419359)
@@ -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>

Modified: head/dns/sheerdns/distinfo
==============================================================================
--- head/dns/sheerdns/distinfo	Sun Jul 31 10:44:24 2016	(r419358)
+++ head/dns/sheerdns/distinfo	Sun Jul 31 10:56:45 2016	(r419359)
@@ -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

Modified: head/dns/sheerdns/files/patch-Makefile
==============================================================================
--- head/dns/sheerdns/files/patch-Makefile	Sun Jul 31 10:44:24 2016	(r419358)
+++ head/dns/sheerdns/files/patch-Makefile	Sun Jul 31 10:56:45 2016	(r419359)
@@ -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
- 

Modified: head/dns/sheerdns/pkg-descr
==============================================================================
--- head/dns/sheerdns/pkg-descr	Sun Jul 31 10:44:24 2016	(r419358)
+++ head/dns/sheerdns/pkg-descr	Sun Jul 31 10:56:45 2016	(r419359)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607311056.u6VAujBo016621>