Date: Thu, 24 Jul 2014 19:31:10 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362839 - in head: . dns/mydns-ng Message-ID: <201407241931.s6OJVA1E033603@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> +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 <bboy@bboy.net> - 23-January-2009 Howard Wilkinsin <howard@cohtech.com> -WWW: http://sourceforge.net/projects/mydns-ng/ +WWW: http://sourceforge.net/projects/mydns-ng/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407241931.s6OJVA1E033603>