1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update net/mydns to 0.9.9

PR:		50668 and 50676
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
		Simon Dick <simond@irrelevant.org>
This commit is contained in:
Yen-Ming Lee 2003-04-07 15:50:42 +00:00
parent 545ca687ad
commit a14c489278
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78523
12 changed files with 75 additions and 195 deletions

View File

@ -6,15 +6,19 @@
#
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
@ -26,36 +30,29 @@ DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART README TODO
.include <bsd.port.pre.mk>
.if defined (WITH_PGSQL)
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+=--without-mysql
PKGNAMESUFFIX= -pg
.else
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
#LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+=--without-pgsql
PKGNAMESUFFIX= -mysql
.endif
.if !defined(NOPORTDOCS)
USE_PERL5= yes
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.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}/
.endfor
@${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html/
@${INSTALL_DATA} ${WRKSRC}/contrib/admin.php ${DOCSDIR}/contrib/
@${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/
.endif

View File

@ -1 +1 @@
MD5 (mydns-0.9.7.tar.bz2) = aa41668f642b059eba7588200a38f1ee
MD5 (mydns-0.9.9.tar.bz2) = 3eae2e08ddf0434a5bb969945ffe00c6

View File

@ -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.

View File

@ -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
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/es/LC_MESSAGES/mydns.mo
share/locale/fr/LC_MESSAGES/mydns.mo
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

View File

@ -6,15 +6,19 @@
#
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
@ -26,36 +30,29 @@ DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART README TODO
.include <bsd.port.pre.mk>
.if defined (WITH_PGSQL)
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+=--without-mysql
PKGNAMESUFFIX= -pg
.else
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
#LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+=--without-pgsql
PKGNAMESUFFIX= -mysql
.endif
.if !defined(NOPORTDOCS)
USE_PERL5= yes
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.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}/
.endfor
@${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html/
@${INSTALL_DATA} ${WRKSRC}/contrib/admin.php ${DOCSDIR}/contrib/
@${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/
.endif

View File

@ -1 +1 @@
MD5 (mydns-0.9.7.tar.bz2) = aa41668f642b059eba7588200a38f1ee
MD5 (mydns-0.9.9.tar.bz2) = 3eae2e08ddf0434a5bb969945ffe00c6

View File

@ -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.

View File

@ -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
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/es/LC_MESSAGES/mydns.mo
share/locale/fr/LC_MESSAGES/mydns.mo
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

View File

@ -6,15 +6,19 @@
#
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
@ -26,36 +30,29 @@ DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART README TODO
.include <bsd.port.pre.mk>
.if defined (WITH_PGSQL)
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+=--without-mysql
PKGNAMESUFFIX= -pg
.else
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
#LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+=--without-pgsql
PKGNAMESUFFIX= -mysql
.endif
.if !defined(NOPORTDOCS)
USE_PERL5= yes
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.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}/
.endfor
@${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html/
@${INSTALL_DATA} ${WRKSRC}/contrib/admin.php ${DOCSDIR}/contrib/
@${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/
.endif

View File

@ -1 +1 @@
MD5 (mydns-0.9.7.tar.bz2) = aa41668f642b059eba7588200a38f1ee
MD5 (mydns-0.9.9.tar.bz2) = 3eae2e08ddf0434a5bb969945ffe00c6

View File

@ -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.

View File

@ -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
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/es/LC_MESSAGES/mydns.mo
share/locale/fr/LC_MESSAGES/mydns.mo
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