Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 13:50:50 +0100 (BST)
From:      Simon Dick <simond@irrelevant.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50676: Maintainer port update: net/mydns
Message-ID:  <200304071250.h37Cooeh063262@laptop.internal.irrelevant.org>
Resent-Message-ID: <200304071320.h37DK7di094084@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         50676
>Category:       ports
>Synopsis:       Maintainer port update: net/mydns
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 06:20:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Simon Dick
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD laptop.internal.irrelevant.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Mar 22 12:23:42 GMT 2003 root@laptop.internal.irrelevant.org:/usr/obj/usr/src/sys/LAPTOP i386


>Description:

Update net/mydns to 0.9.9

Thanks to Alex Dupre for the update which this was based on
( ports/50668 )

>How-To-Repeat:
>Fix:

diff -ruN mydns.orig/Makefile mydns/Makefile
--- mydns.orig/Makefile Mon Mar 24 04:26:06 2003
+++ mydns/Makefile      Mon Apr  7 13:16:51 2003
@@ -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}/convertors/libiconv
+
 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 @@
 .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
diff -ruN mydns.orig/distinfo mydns/distinfo
--- mydns.orig/distinfo Mon Mar 24 04:26:06 2003
+++ mydns/distinfo      Mon Apr  7 13:01:54 2003
@@ -1 +1 @@
-MD5 (mydns-0.9.7.tar.bz2) = aa41668f642b059eba7588200a38f1ee
+MD5 (mydns-0.9.9.tar.bz2) = 3eae2e08ddf0434a5bb969945ffe00c6
diff -ruN mydns.orig/files/patch-configure mydns/files/patch-configure
--- mydns.orig/files/patch-configure    Thu Jan  1 01:00:00 1970
+++ mydns/files/patch-configure Mon Apr  7 13:17:37 2003
@@ -0,0 +1,11 @@
+--- configure.orig      Fri Mar 28 11:51:06 2003
++++ configure   Fri Mar 28 11:51:21 2003
+@@ -7803,6 +7803,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++/usr/local/share/libtool/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
diff -ruN mydns.orig/files/patch-doc::texinfo::title.texi mydns/files/patch-doc::texinfo::title.texi
--- mydns.orig/files/patch-doc::texinfo::title.texi     Thu Jan  1 01:00:00 1970
+++ mydns/files/patch-doc::texinfo::title.texi  Mon Apr  7 13:18:21 2003
@@ -0,0 +1,10 @@
+--- doc/texinfo/title.texi.orig Fri Nov 15 10:30:48 2002
++++ doc/texinfo/title.texi      Wed Dec 18 15:18:13 2002
+@@ -1,3 +1,7 @@
++@dircategory Miscellaneous
++@direntry
++* mydns: (mydns).               The MySQL based DNS-server.
++@end direntry
+ 
+ @ifinfo
+ This is the manual for MyDNS (version @value{PKGVERSION}, @value{PKGDATE}),
diff -ruN mydns.orig/files/patch-title.texi mydns/files/patch-title.texi
--- mydns.orig/files/patch-title.texi   Fri Jan  3 18:57:59 2003
+++ mydns/files/patch-title.texi        Thu Jan  1 01:00:00 1970
@@ -1,10 +0,0 @@
---- doc/texi/en/title.texi.orig        Fri Nov 15 10:30:48 2002
-+++ doc/texi/en/title.texi     Wed Dec 18 15:18:13 2002
-@@ -1,3 +1,7 @@
-+@dircategory Miscellaneous
-+@direntry
-+* mydns: (mydns).               The MySQL based DNS-server.
-+@end direntry
- 
- @ifinfo
- This is the manual for MyDNS (version @value{PKGVERSION}, @value{PKGDATE}),
diff -ruN mydns.orig/pkg-plist mydns/pkg-plist
--- mydns.orig/pkg-plist        Fri Jan  3 18:57:59 2003
+++ mydns/pkg-plist     Mon Apr  7 13:20:56 2003
@@ -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 @@
 %%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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304071250.h37Cooeh063262>