Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2012 18:05:44 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@FreeBSD.org
Cc:        decke@FreeBSD.org
Subject:   ports/170322: [UPDATE] dns/maradns: update to 1.4.12
Message-ID:  <501A42E8.6050901@airport.fm>
Resent-Message-ID: <201208020910.q729A7hw010581@freefall.freebsd.org>
In-Reply-To: <201208020818.q728I68Q077087@unbound.local.ae-osaka.co.jp>
References:  <201208020818.q728I68Q077087@unbound.local.ae-osaka.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         170322
>Category:       ports
>Synopsis:       [UPDATE] dns/maradns: update to 1.4.12
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 02 09:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 7.4-RELEASE amd64
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
- Update to 1.4.12
- Whitespace fixes
- Sourceforge is unregistered of MASTER_SITES
- Environment variable CC definition is irregular
- Change repository
    maradns -> maradns1
Port maintainer (decke@FreeBSD.org) is cc'd.
>How-To-Repeat:
>Fix:
--- dns/maradns.patch begins here ---
diff -ruN /usr/ports/dns/maradns/Makefile dns/maradns1/Makefile
--- /usr/ports/dns/maradns/Makefile	2012-01-23 15:06:02.000000000 +0900
+++ dns/maradns1/Makefile	2012-08-02 14:02:00.000000000 +0900
@@ -5,10 +5,10 @@
 #

 PORTNAME=	maradns
-PORTVERSION=	1.4.10
+PORTNAME=	maradns1
+PORTVERSION=	1.4.12
 CATEGORIES=	dns
-MASTER_SITES=	http://www.maradns.org/download/1.4/${PORTVERSION}/ \
-		SF/${PORTNAME}/MaraDNS/${PORTVERSION}/
+MASTER_SITES=	http://www.maradns.org/download/1.4/
+#		SF/${PORTNAME}/MaraDNS/${PORTVERSION}/

 MAINTAINER=	decke@FreeBSD.org
 COMMENT=	DNS server with focus on security and simplicity
@@ -17,8 +17,12 @@
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/COPYING

+DEPRECATED=	MaraDNS 1 end-of-life: June 21, 2015
+#EXPIRATION_DATE=	2015-06-21
+
 REINPLACE_ARGS=	-i ""
 MAKE_ENV=	FLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
+CONFIGURE_ENV=	LANG=

 USE_BZIP2=	yes
 USE_RC_SUBR=	${PORTNAME} zoneserver
diff -ruN /usr/ports/dns/maradns/distinfo dns/maradns1/distinfo
--- /usr/ports/dns/maradns/distinfo	2012-01-23 15:06:02.000000000 +0900
+++ dns/maradns1/distinfo	2012-08-01 11:25:08.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (maradns-1.4.10.tar.bz2) = 3aaa2361341c559e1c91876544cfd5973ea960b9bfd5c8d0bb54617291f40555
-SIZE (maradns-1.4.10.tar.bz2) = 1121427
+SHA256 (maradns-1.4.12.tar.bz2) = 72c0e0fd10e4d9ed70d8c7addb9b0abd2cf2d23f6b477db3aefd69c9faa0893b
+SIZE (maradns-1.4.12.tar.bz2) = 1178772
diff -ruN /usr/ports/dns/maradns/files/patch-build_Makefile.freebsd dns/maradns1/files/patch-build_Makefile.freebsd
--- /usr/ports/dns/maradns/files/patch-build_Makefile.freebsd	1970-01-01 09:00:00.000000000 +0900
+++ dns/maradns1/files/patch-build_Makefile.freebsd	2012-01-17 15:13:25.000000000 +0900
@@ -0,0 +1,12 @@
+--- build/Makefile.freebsd.orig	2006-01-22 14:22:01.000000000 +0900
++++ build/Makefile.freebsd	2012-01-17 15:13:16.000000000 +0900
+@@ -27,8 +27,7 @@
+ Q="DEFINES=-DSELECT_PROBLEM"
+
+ # FreeBSD needs some special flags to compile MaraDNS
+-CC="cc -O2 -Wall -pipe -D_THREAD_SAFE -pthread"
+-M=CC=$(CC)
++M="CC=$(CC) -O2 -Wall -pipe -D_THREAD_SAFE -pthread"
+ V="VERSION=$(VERSION)"
+
+ # Debug
diff -ruN /usr/ports/dns/maradns/pkg-descr dns/maradns1/pkg-descr
--- /usr/ports/dns/maradns/pkg-descr	2010-07-21 16:51:01.000000000 +0900
+++ dns/maradns1/pkg-descr	2012-08-02 13:00:51.000000000 +0900
@@ -1,26 +1,22 @@
 MaraDNS is a package that implements the Domain Name Service (DNS), an
-essential internet service. MaraDNS has the following advantages:
+essential internet service. MaraDNS has the following advantages:

 o Secure. MaraDNS has a security history as good as or better than any other DNS
   server. For example, MaraDNS has always randomized, using a secure random
   number generator, the Query ID and source port of DNS queries; and was never
-  vulnerable to the "new" cache poisoning attack.
-
+  vulnerable to the "new" cache poisoning attack.
 o Supported. MaraDNS has a long history of being maintained and updated.
   Actively developed since 2001, MaraDNS continues to be fully supported: The
   most recent release was done on August 4, 2009. Deadwood, the code that will
-  become part of MaraDNS 2.0, is frequently updated.
-
+  become part of MaraDNS 2.0, is frequently updated.
 o Easy to use. A basic recursive configuration needs only a single three-line
   configuration file. A basic authoritative configuration needs only a four-line
   configuration file and a one-line zone file. MaraDNS is fully documented, with
-  both easy-to-follow tutorials and a complete and up-to-date reference manual.
-
+  both easy-to-follow tutorials and a complete and up-to-date reference manual.
 o Small. MaraDNS is well suited for embedded applications and other environments
   where the server must use the absolute minimum number of resources possible.
   MaraDNS' binary is smaller than that of any other currently maintained
-  recursive DNS server.
-
+  recursive DNS server.
 o Open Source. MaraDNS is fully open-source, The license is a two-clause BSD
   license that is almost identical to the FreeBSD license.
--- dns/maradns.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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