diff options
author | leeym <leeym@FreeBSD.org> | 2003-04-07 15:50:42 +0000 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-04-07 15:50:42 +0000 |
commit | b8cc96ab6df1492b8b671d670c5f035406a42ef3 (patch) | |
tree | a6808c129ad8ee350054722f227cfb0aea6dbb3f /net/mydns | |
parent | d230be355c220d81f0e972ae583e31783d4bc01e (diff) | |
download | FreeBSD-ports-b8cc96ab6df1492b8b671d670c5f035406a42ef3.zip FreeBSD-ports-b8cc96ab6df1492b8b671d670c5f035406a42ef3.tar.gz |
Update net/mydns to 0.9.9
PR: 50668 and 50676
Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Simon Dick <simond@irrelevant.org>
Diffstat (limited to 'net/mydns')
-rw-r--r-- | net/mydns/Makefile | 39 | ||||
-rw-r--r-- | net/mydns/distinfo | 2 | ||||
-rw-r--r-- | net/mydns/pkg-message | 1 | ||||
-rw-r--r-- | net/mydns/pkg-plist | 46 |
4 files changed, 24 insertions, 64 deletions
diff --git a/net/mydns/Makefile b/net/mydns/Makefile index b806a61..8b801d3 100644 --- a/net/mydns/Makefile +++ b/net/mydns/Makefile @@ -6,56 +6,53 @@ # PORTNAME= mydns -PORTVERSION= 0.9.7 +PORTVERSION= 0.9.9 CATEGORIES= net databases MASTER_SITES= http://mydns.bboy.net/download/ MAINTAINER= simond@irrelevant.org COMMENT= DNS server designed to utilize the MySQL database +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \ + iconv.3:${PORTSDIR}/converters/iconv + GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-confdir=${PREFIX}/etc --without-libiconv-prefix +CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc +USE_LIBTOOL= yes USE_BZIP2= yes USE_REINPLACE= yes MAN5= mydns.conf.5 MAN8= mydns.8 mydnscheck.8 mydnsexport.8 mydnsimport.8 -DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART README TODO +DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART README TODO .include <bsd.port.pre.mk> .if defined (WITH_PGSQL) -LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 -CONFIGURE_ARGS+= --without-mysql -PKGNAMESUFFIX= -pg +LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7 +CONFIGURE_ARGS+=--without-mysql +PKGNAMESUFFIX= -pg .else +#LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+=--without-pgsql +PKGNAMESUFFIX= -mysql +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -CONFIGURE_ARGS+= --without-pgsql -PKGNAMESUFFIX= -mysql -.endif - -.if !defined(NOPORTDOCS) -USE_PERL5= yes .else -pre-configure: - @${REINPLACE_CMD} -E -e "s|^(all: vars manpages info) html-doc|\1|" \ - ${WRKSRC}/doc/Makefile.in +LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client +.endif .endif - -post-build: - cd ${WRKSRC}/doc && ${MAKE} html post-install: @${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh @${INSTALL_SCRIPT} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample @install-info ${PREFIX}/info/mydns.info ${PREFIX}/info/dir .if !defined(NOPORTDOCS) - @${INSTALL} -d -m 0755 ${DOCSDIR}/html ${DOCSDIR}/contrib + @${MKDIR} ${DOCSDIR}/contrib .for f in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ .endfor - @${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html/ @${INSTALL_DATA} ${WRKSRC}/contrib/admin.php ${DOCSDIR}/contrib/ @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/ .endif diff --git a/net/mydns/distinfo b/net/mydns/distinfo index 1c79f23..d07933a 100644 --- a/net/mydns/distinfo +++ b/net/mydns/distinfo @@ -1 +1 @@ -MD5 (mydns-0.9.7.tar.bz2) = aa41668f642b059eba7588200a38f1ee +MD5 (mydns-0.9.9.tar.bz2) = 3eae2e08ddf0434a5bb969945ffe00c6 diff --git a/net/mydns/pkg-message b/net/mydns/pkg-message index 48717a9..4f3257e 100644 --- a/net/mydns/pkg-message +++ b/net/mydns/pkg-message @@ -5,4 +5,3 @@ installed sample file. Following that you will need to setup your database tables, you can use the output of %%%PREFIX%%%/sbin/mydns --create-tables as a template. - diff --git a/net/mydns/pkg-plist b/net/mydns/pkg-plist index cb071b9..93de748 100644 --- a/net/mydns/pkg-plist +++ b/net/mydns/pkg-plist @@ -1,15 +1,15 @@ +bin/mydnscheck +bin/mydnsexport +bin/mydnsimport etc/mydns.conf.sample etc/rc.d/mydns.sh.sample @unexec install-info --delete %D/info/mydns.info %D/info/dir info/mydns.info @exec install-info %D/info/mydns.info %D/info/dir -bin/mydnscheck -bin/mydnsexport -bin/mydnsimport +sbin/mydns share/locale/es/LC_MESSAGES/mydns.mo -share/locale/pt_BR/LC_MESSAGES/mydns.mo share/locale/fr/LC_MESSAGES/mydns.mo -sbin/mydns +share/locale/pt_BR/LC_MESSAGES/mydns.mo %%PORTDOCS%%share/doc/mydns/AUTHORS %%PORTDOCS%%share/doc/mydns/COPYING %%PORTDOCS%%share/doc/mydns/ChangeLog @@ -19,41 +19,5 @@ sbin/mydns %%PORTDOCS%%share/doc/mydns/TODO %%PORTDOCS%%share/doc/mydns/contrib/README %%PORTDOCS%%share/doc/mydns/contrib/admin.php -%%PORTDOCS%%share/doc/mydns/html/Building-the-source.html -%%PORTDOCS%%share/doc/mydns/html/Cache-options.html -%%PORTDOCS%%share/doc/mydns/html/Caching.html -%%PORTDOCS%%share/doc/mydns/html/Configuration.html -%%PORTDOCS%%share/doc/mydns/html/Creating-mydns.conf.html -%%PORTDOCS%%share/doc/mydns/html/Database-options.html -%%PORTDOCS%%share/doc/mydns/html/Database.html -%%PORTDOCS%%share/doc/mydns/html/GNU-Free-Documentation-License.html -%%PORTDOCS%%share/doc/mydns/html/General-options.html -%%PORTDOCS%%share/doc/mydns/html/Index.html -%%PORTDOCS%%share/doc/mydns/html/Installation.html -%%PORTDOCS%%share/doc/mydns/html/Introduction.html -%%PORTDOCS%%share/doc/mydns/html/Load-balancing.html -%%PORTDOCS%%share/doc/mydns/html/Misc-options.html -%%PORTDOCS%%share/doc/mydns/html/Optional-columns.html -%%PORTDOCS%%share/doc/mydns/html/Preparing-the-database.html -%%PORTDOCS%%share/doc/mydns/html/RFC-1034.html -%%PORTDOCS%%share/doc/mydns/html/References.html -%%PORTDOCS%%share/doc/mydns/html/Round-robin.html -%%PORTDOCS%%share/doc/mydns/html/Server.html -%%PORTDOCS%%share/doc/mydns/html/Signals.html -%%PORTDOCS%%share/doc/mydns/html/TCP-support.html -%%PORTDOCS%%share/doc/mydns/html/Troubleshooting.html -%%PORTDOCS%%share/doc/mydns/html/Utilities.html -%%PORTDOCS%%share/doc/mydns/html/Zone-transfers.html -%%PORTDOCS%%share/doc/mydns/html/any.active.html -%%PORTDOCS%%share/doc/mydns/html/in-addr.arpa.html -%%PORTDOCS%%share/doc/mydns/html/index.html -%%PORTDOCS%%share/doc/mydns/html/mydnscheck.html -%%PORTDOCS%%share/doc/mydns/html/mydnsexport.html -%%PORTDOCS%%share/doc/mydns/html/mydnsimport.html -%%PORTDOCS%%share/doc/mydns/html/ptr-table.html -%%PORTDOCS%%share/doc/mydns/html/rr-table.html -%%PORTDOCS%%share/doc/mydns/html/soa-table.html -%%PORTDOCS%%share/doc/mydns/html/soa.xfer.html -%%PORTDOCS%%@dirrm share/doc/mydns/html %%PORTDOCS%%@dirrm share/doc/mydns/contrib %%PORTDOCS%%@dirrm share/doc/mydns |