FreeBSD Bugzilla – Attachment 144386 Details for
Bug 191563
[MAINTAINER] dns/mydns-ng-mysql: Add staging support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch
mydns-ng.patch (text/plain), 4.28 KB, created by
Danilo Egea Gondolfo
on 2014-07-04 02:51:11 UTC
(
hide
)
Description:
New patch
Filename:
MIME Type:
Creator:
Danilo Egea Gondolfo
Created:
2014-07-04 02:51:11 UTC
Size:
4.28 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 360334) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= mydns-ng > PORTVERSION= 1.2.8.31 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= dns databases > MASTER_SITES= SF/${PORTNAME}/mydns/${PORTVERSION} > DISTNAME= mydns-${PORTVERSION} >@@ -11,6 +11,8 @@ > 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 >@@ -21,64 +23,46 @@ > PKGMESSAGE= ${WRKDIR}/pkg-message > > INFO= mydns >-MAN5= mydns.conf.5 >-MAN8= mydns.8 mydnscheck.8 mydnsexport.8 mydnsimport.8 mydnsptrconvert.8 mydns-conf.8 >- > DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO > >-OPTIONS_DEFINE= PGSQL ALIAS SSL NLS >-OPTIONS_DEFAULT= ALIAS >+OPTIONS_DEFINE= ALIAS SSL NLS >+OPTIONS_SINGLE= DATABASE >+OPTIONS_SINGLE_DATABASE= PGSQL MYSQL >+OPTIONS_DEFAULT= ALIAS MYSQL > ALIAS_DESC= Server side aliasas >+OPTIONS_SUB= yes > >-NO_STAGE= yes >-.include <bsd.port.options.mk> >+ALIAS_CONFIGURE_ENABLE= alias > >-.if ${PORT_OPTIONS:MALIAS} >-CONFIGURE_ARGS+=--enable-alias >-.endif >+SSL_USE= OPENSSL=yes >+SSL_CONFIGURE_ON= --with-openssl \ >+ --with-openssl-include=${OPENSSLINC} \ >+ --with-openssl-lib=${OPENSSLLIB} > >-.if ${PORT_OPTIONS:MSSL} >-USE_OPENSSL=yes >-CONFIGURE_ARGS+=--with-openssl \ >- --with-openssl-include=${OPENSSLINC} \ >- --with-openssl-lib=${OPENSSLLIB} >-.endif >+PGSQL_USE= PGSQL=yes >+PGSQL_CONFIGURE_ON= --with-pgsql \ >+ --with-pgsql-include=${LOCALBASE}/include \ >+ --with-pgsql-lib=${LOCALBASE}/lib >+PGSQL_CONFIGURE_OFF= --without-pgsql > >-.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 >+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: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: >-.if ${PORT_OPTIONS:MDOCS} >- @${MKDIR} ${DOCSDIR}/contrib >+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib > .for f in ${DOCS} >- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ >+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ > .endfor >- @${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${DOCSDIR}/contrib/ >- @${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${DOCSDIR}/contrib/ >- @${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${DOCSDIR}/contrib/ >- @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/ >-.endif >- @${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample >- @${CAT} ${PKGMESSAGE} >+ ${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${STAGEDIR}${DOCSDIR}/contrib/ >+ ${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${STAGEDIR}${DOCSDIR}/contrib/ >+ ${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${STAGEDIR}${DOCSDIR}/contrib/ >+ ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/contrib/ >+ @${STAGEDIR}${PREFIX}/sbin/mydns --dump-config >${STAGEDIR}${PREFIX}/etc/mydns.conf.sample > > .include <bsd.port.mk> >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 360334) >+++ pkg-descr (working copy) >@@ -10,4 +10,4 @@ > - 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/ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 360334) >+++ pkg-plist (working copy) >@@ -5,6 +5,13 @@ > bin/mydnsptrconvert > etc/mydns.conf.sample > sbin/mydns >+man/man5/mydns.conf.5.gz >+man/man8/mydns-conf.8.gz >+man/man8/mydns.8.gz >+man/man8/mydnscheck.8.gz >+man/man8/mydnsexport.8.gz >+man/man8/mydnsimport.8.gz >+man/man8/mydnsptrconvert.8.gz > %%PORTDOCS%%%%DOCSDIR%%/AUTHORS > %%PORTDOCS%%%%DOCSDIR%%/COPYING > %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191563
:
144344
| 144386