From owner-svn-ports-all@FreeBSD.ORG Thu Jul 24 19:31:11 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E31232AA; Thu, 24 Jul 2014 19:31:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFF7F2F63; Thu, 24 Jul 2014 19:31:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6OJVAp2033609; Thu, 24 Jul 2014 19:31:10 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6OJVA1E033603; Thu, 24 Jul 2014 19:31:10 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201407241931.s6OJVA1E033603@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Thu, 24 Jul 2014 19:31:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362839 - in head: . dns/mydns-ng X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 19:31:11 -0000 Author: danilo Date: Thu Jul 24 19:31:09 2014 New Revision: 362839 URL: http://svnweb.freebsd.org/changeset/ports/362839 QAT: https://qat.redports.org/buildarchive/r362839/ Log: - Add LICENSE - Don't use a suffix based on selected options - Add an entry to UPDATING about this - Use options helpers - Improve WWW PR: ports/191563 Submitted by: gaod@hychen.org Modified: head/UPDATING head/dns/mydns-ng/Makefile head/dns/mydns-ng/pkg-descr Modified: head/UPDATING ============================================================================== --- head/UPDATING Thu Jul 24 18:53:35 2014 (r362838) +++ head/UPDATING Thu Jul 24 19:31:09 2014 (r362839) @@ -5,6 +5,17 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20140724: + AFFECTS: users of dns/mydns-ng + AUTHOR: danilo@FreeBSD.org + + The dns/mydns-ng port no longer has the suffix (-mysql|-pgsql). Before + you update this port the old one must be removed: + + pkg remove mydns-ng-mysql + or + pkg remove mysql-ng-pgsql + 20140723: AFFECTS: users of devel/libevent Modified: head/dns/mydns-ng/Makefile ============================================================================== --- head/dns/mydns-ng/Makefile Thu Jul 24 18:53:35 2014 (r362838) +++ head/dns/mydns-ng/Makefile Thu Jul 24 19:31:09 2014 (r362839) @@ -3,7 +3,7 @@ PORTNAME= mydns-ng PORTVERSION= 1.2.8.31 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns databases MASTER_SITES= SF/${PORTNAME}/mydns/${PORTVERSION} DISTNAME= mydns-${PORTVERSION} @@ -11,6 +11,8 @@ DISTNAME= mydns-${PORTVERSION} MAINTAINER= gaod@hychen.org COMMENT= Next Generation DNS Server for sql based DNS services +LICENSE= GPLv2 + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc USES= iconv @@ -20,42 +22,35 @@ PKGMESSAGE= ${WRKDIR}/pkg-message INFO= mydns DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO -OPTIONS_DEFINE= DOCS PGSQL ALIAS SSL NLS -OPTIONS_DEFAULT= ALIAS +OPTIONS_DEFINE= DOCS ALIAS SSL NLS +OPTIONS_SINGLE= DATABASE +OPTIONS_SINGLE_DATABASE= PGSQL MYSQL +OPTIONS_DEFAULT= ALIAS MYSQL ALIAS_DESC= Server side aliasas ALIAS_CONFIGURE_ENABLE= alias +OPTIONS_SUB= yes + +ALIAS_CONFIGURE_ENABLE= alias -.include +SSL_USE= OPENSSL=yes +SSL_CONFIGURE_ON= --with-openssl \ + --with-openssl-include=${OPENSSLINC} \ + --with-openssl-lib=${OPENSSLLIB} + +PGSQL_USE= PGSQL=yes +PGSQL_CONFIGURE_ON= --with-pgsql \ + --with-pgsql-include=${LOCALBASE}/include \ + --with-pgsql-lib=${LOCALBASE}/lib +PGSQL_CONFIGURE_OFF= --without-pgsql + +MYSQL_USE= MYSQL=yes +MYSQL_CONFIGURE_ON= --with-mysql \ + --with-mysql-include=${LOCALBASE}/include/mysql \ + --with-mysql-lib=${LOCALBASE}/lib/mysql +MYSQL_CONFIGURE_OFF= --without-mysql -.if ${PORT_OPTIONS:MSSL} -USE_OPENSSL=yes -CONFIGURE_ARGS+=--with-openssl \ - --with-openssl-include=${OPENSSLINC} \ - --with-openssl-lib=${OPENSSLLIB} -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= yes -CONFIGURE_ARGS+=--without-mysql \ - --with-pgsql-include=${LOCALBASE}/include \ - --with-pgsql-lib=${LOCALBASE}/lib -PKGNAMESUFFIX= -pgsql -.else -CONFIGURE_ARGS+=--without-pgsql \ - --with-mysql-include=${LOCALBASE}/include/mysql \ - --with-mysql-lib=${LOCALBASE}/lib/mysql -PKGNAMESUFFIX= -mysql -USE_MYSQL= yes -.endif - -.if ${PORT_OPTIONS:MNLS} -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else -CONFIGURE_ARGS+=--with-included-gettext -USES+= gettext -PLIST_SUB+= NLS="" -.endif +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib Modified: head/dns/mydns-ng/pkg-descr ============================================================================== --- head/dns/mydns-ng/pkg-descr Thu Jul 24 18:53:35 2014 (r362838) +++ head/dns/mydns-ng/pkg-descr Thu Jul 24 19:31:09 2014 (r362839) @@ -10,4 +10,4 @@ produced by Don Moore. - 12-May-2004 Don Moore - 23-January-2009 Howard Wilkinsin -WWW: http://sourceforge.net/projects/mydns-ng/ +WWW: http://sourceforge.net/projects/mydns-ng/