From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 26 20:00:10 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B801C106566B for ; Tue, 26 May 2009 20:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 943508FC17 for ; Tue, 26 May 2009 20:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4QK0AUh086662 for ; Tue, 26 May 2009 20:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4QK0AcC086661; Tue, 26 May 2009 20:00:10 GMT (envelope-from gnats) Resent-Date: Tue, 26 May 2009 20:00:10 GMT Resent-Message-Id: <200905262000.n4QK0AcC086661@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hung-Yi Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B91911065670 for ; Tue, 26 May 2009 19:51:39 +0000 (UTC) (envelope-from gaod@gaod.tfcis.org) Received: from gaod.tfcis.org (gaod.tfcis.org [210.70.137.25]) by mx1.freebsd.org (Postfix) with SMTP id 735168FC1E for ; Tue, 26 May 2009 19:51:29 +0000 (UTC) (envelope-from gaod@gaod.tfcis.org) Received: from gaod.tfcis.org (localhost [127.0.0.1]) by gaod.tfcis.org (Postfix) with ESMTP id 4714D8FC4C for ; Wed, 27 May 2009 03:31:53 +0800 (CST) Received: (from root@localhost) by gaod.tfcis.org (8.14.3/8.14.3/Submit) id n4QJVr8X059448; Wed, 27 May 2009 03:31:53 +0800 (CST) (envelope-from gaod) Message-Id: <200905261931.n4QJVr8X059448@gaod.tfcis.org> Date: Wed, 27 May 2009 03:31:53 +0800 (CST) From: Hung-Yi Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/134967: [MAINTAINER] dns/mydns-ng: Fix for incorrect Makefile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hung-Yi Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 20:00:11 -0000 >Number: 134967 >Category: ports >Synopsis: [MAINTAINER] dns/mydns-ng: Fix for incorrect Makefile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue May 26 20:00:09 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hung-Yi Chen >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD gaod.tfcis.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed May 13 04:52:09 CST 2009 gaod@gaod.tfcis.org:/usr/obj/usr/src/sys/gaod i386 >Description: - Fix for wrong configuration with NLS support in Makefile. - Import some patch about admin.php. >How-To-Repeat: >Fix: --- mydns-ng begins here --- ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/dns/mydns-ng.orig/Makefile /usr/ports/dns/mydns-ng/Makefile --- /usr/ports/dns/mydns-ng.orig/Makefile 2009-03-29 19:56:20.000000000 +0800 +++ /usr/ports/dns/mydns-ng/Makefile 2009-05-27 11:15:38.000000000 +0800 @@ -6,6 +6,7 @@ # PORTNAME= mydns-ng +PORTREVISION= 1 PORTVERSION= 1.2.8.27 CATEGORIES= dns databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -63,7 +64,7 @@ USE_MYSQL= yes .endif -.if defined(WITHOUT_NLS) +.if !defined(WITHOUT_NLS) CONFIGURE_ARGS+=--with-included-gettext USE_GETTEXT= yes PLIST_SUB+= NLS="" diff -ruN --exclude=CVS /usr/ports/dns/mydns-ng.orig/files/patch-contrib_admin.php /usr/ports/dns/mydns-ng/files/patch-contrib_admin.php --- /usr/ports/dns/mydns-ng.orig/files/patch-contrib_admin.php 1970-01-01 08:00:00.000000000 +0800 +++ /usr/ports/dns/mydns-ng/files/patch-contrib_admin.php 2009-05-27 11:14:54.000000000 +0800 @@ -0,0 +1,58 @@ +--- contrib/admin.php.orig 2009-01-30 12:21:32.000000000 +0000 ++++ contrib/admin.php 2009-05-27 03:13:57.000000000 +0000 +@@ -85,6 +85,15 @@ + */ + $auto_update_ptr = 0; + ++/* ++** This can automatically insert the defaults w/o updating the serial ++** number automatically. Sometimes you want to change entries but not ++** have the nameserver reload and start serving out new data. ++** -bek@monsterous.com ++*/ ++ ++$auto_defaults = 1; ++ + + /* + ** If this option is nonzero, this script will not complain if the +@@ -2052,7 +2061,7 @@ + global $soa_use_active, $soa_use_recursive, $soa_use_xfer, $soa_use_update_acl, $soa_use_also_notify; + global $rr_table_name, $soa_active_types, $soa_recursive_types; + global $default_refresh, $default_retry, $default_expire, $default_minimum_ttl, $default_ttl; +- global $default_ns, $default_mbox; ++ global $default_ns, $default_mbox, $auto_defaults; + global $soa_bgcolor, $zonenotify; + + $delete_confirm = 0; +@@ -2112,6 +2121,18 @@ + } else + $soa = $values = $_POST; + $new_soa = 1; ++ ++ if ($auto_defaults == 1) { ++ $soa['serial'] = date("Ymd01", time()); ++ $soa['refresh'] = $default_refresh; ++ $soa['retry'] = $default_retry; ++ $soa['expire'] = $default_expire; ++ $soa['minimum'] = $default_minimum_ttl; ++ $soa['ttl'] = $default_ttl; ++ $soa['ns'] = trim($default_ns); ++ $soa['mbox'] = trim($default_mbox); ++ $values = $soa; ++ } + } + + /* Set 'values' vars to avoid 'undefined' errors */ +@@ -2166,8 +2187,9 @@ + + +   +- ; Serial (next is ) +-   ++ ; Serial (next is ) ++   + + + diff -ruN --exclude=CVS /usr/ports/dns/mydns-ng.orig/files/pkg-message.in /usr/ports/dns/mydns-ng/files/pkg-message.in --- /usr/ports/dns/mydns-ng.orig/files/pkg-message.in 2009-03-23 17:44:55.000000000 +0800 +++ /usr/ports/dns/mydns-ng/files/pkg-message.in 2009-05-27 10:42:33.000000000 +0800 @@ -12,10 +12,10 @@ into your rc.conf. -You can use %%PORTDOCS%%%%DOCSDIR%%/contrib/admin.php to maintain MyDNS. +You can use %%DOCSDIR%%/contrib/admin.php to maintain MyDNS. If you are looking for the web interface for MyDNS, it's included in -the MyDNS distribution as %%PORTDOCS%%%%DOCSDIR%%/contrib/admin.php. -See %%PORTDOCS%%%%DOCSDIR%%/contrib/README for installation instructions. +the MyDNS distribution as %%DOCSDIR%%/contrib/admin.php. +See %%DOCSDIR%%/contrib/README for installation instructions. ********************************************************************* ===> Done --- mydns-ng ends here --- >Release-Note: >Audit-Trail: >Unformatted: