View | Details | Raw Unified | Return to bug 50676
Collapse All | Expand All

(-)mydns/Makefile Mon Apr 7 13:16:51 2003 (-16 / +13 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=      mydns
8
PORTNAME=      mydns
9
PORTVERSION=   0.9.7
9
PORTVERSION=   0.9.9
10
CATEGORIES=    net databases
10
CATEGORIES=    net databases
11
MASTER_SITES=  http://mydns.bboy.net/download/
11
MASTER_SITES=  http://mydns.bboy.net/download/
12
12
13
MAINTAINER=    simond@irrelevant.org
13
MAINTAINER=    simond@irrelevant.org
14
COMMENT=       DNS server designed to utilize the MySQL database
14
COMMENT=       DNS server designed to utilize the MySQL database
15
15
16
LIB_DEPENDS=   intl.4:${PORTSDIR}/devel/gettext \
17
               iconv.3:${PORTSDIR}/convertors/libiconv
18
16
GNU_CONFIGURE= yes
19
GNU_CONFIGURE= yes
17
CONFIGURE_ARGS+=       --with-confdir=${PREFIX}/etc --without-libiconv-prefix
20
CONFIGURE_ARGS+=--with-confdir=${PREFIX}/etc
21
USE_LIBTOOL=   yes
18
USE_BZIP2=     yes
22
USE_BZIP2=     yes
19
USE_REINPLACE= yes
23
USE_REINPLACE= yes
20
24
Lines 26-61 Link Here
26
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
27
31
28
.if defined (WITH_PGSQL)
32
.if defined (WITH_PGSQL)
29
LIB_DEPENDS=   pq.2:${PORTSDIR}/databases/postgresql7
33
LIB_DEPENDS=           pq.3:${PORTSDIR}/databases/postgresql7
30
CONFIGURE_ARGS+=       --without-mysql
34
CONFIGURE_ARGS+=       --without-mysql
31
PKGNAMESUFFIX=         -pg
35
PKGNAMESUFFIX=         -pg
32
.else
36
.else
33
LIB_DEPENDS=   mysqlclient.10:${PORTSDIR}/databases/mysql323-client
37
#LIB_DEPENDS=          mysqlclient.10:${PORTSDIR}/databases/mysql323-client
34
CONFIGURE_ARGS+=       --without-pgsql
38
CONFIGURE_ARGS+=       --without-pgsql
35
PKGNAMESUFFIX=         -mysql
39
PKGNAMESUFFIX=         -mysql
36
.endif
40
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)                        
37
41
LIB_DEPENDS=           mysqlclient.10:${PORTSDIR}/databases/mysql323-client
38
.if !defined(NOPORTDOCS)
39
USE_PERL5=     yes
40
.else
42
.else
41
pre-configure:
43
LIB_DEPENDS=           mysqlclient.12:${PORTSDIR}/databases/mysql40-client
42
       @${REINPLACE_CMD} -E -e "s|^(all: vars manpages info) html-doc|\1|" \
44
.endif
43
               ${WRKSRC}/doc/Makefile.in
44
.endif
45
.endif
45
46
post-build:
47
       cd ${WRKSRC}/doc && ${MAKE} html
48
46
49
post-install:
47
post-install:
50
       @${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh
48
       @${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh
51
       @${INSTALL_SCRIPT} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample
49
       @${INSTALL_SCRIPT} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample
52
       @install-info ${PREFIX}/info/mydns.info ${PREFIX}/info/dir
50
       @install-info ${PREFIX}/info/mydns.info ${PREFIX}/info/dir
53
.if !defined(NOPORTDOCS)
51
.if !defined(NOPORTDOCS)
54
       @${INSTALL} -d -m 0755 ${DOCSDIR}/html ${DOCSDIR}/contrib
52
       @${MKDIR} ${DOCSDIR}/contrib
55
.for f in ${DOCS}
53
.for f in ${DOCS}
56
               @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
54
               @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
57
.endfor
55
.endfor
58
       @${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html/
59
       @${INSTALL_DATA} ${WRKSRC}/contrib/admin.php ${DOCSDIR}/contrib/
56
       @${INSTALL_DATA} ${WRKSRC}/contrib/admin.php ${DOCSDIR}/contrib/
60
       @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/
57
       @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/
61
.endif
58
.endif
(-)mydns/distinfo Mon Apr 7 13:01:54 2003 (-1 / +1 lines)
Line 1 Link Here
1
MD5 (mydns-0.9.7.tar.bz2) = aa41668f642b059eba7588200a38f1ee
1
MD5 (mydns-0.9.9.tar.bz2) = 3eae2e08ddf0434a5bb969945ffe00c6
(-)mydns/files/patch-configure Mon Apr 7 13:17:37 2003 (+11 lines)
Line 0 Link Here
1
--- configure.orig      Fri Mar 28 11:51:06 2003
2
+++ configure   Fri Mar 28 11:51:21 2003
3
@@ -7803,6 +7803,7 @@
4
 
5
 # This can be used to rebuild libtool when needed
6
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7
+/usr/local/share/libtool/ltconfig $LIBTOOL_DEPS
8
 
9
 # Always use our own libtool.
10
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11
(-)mydns/files/patch-doc::texinfo::title.texi Mon Apr 7 13:18:21 2003 (+10 lines)
Line 0 Link Here
1
--- doc/texinfo/title.texi.orig Fri Nov 15 10:30:48 2002
2
+++ doc/texinfo/title.texi      Wed Dec 18 15:18:13 2002
3
@@ -1,3 +1,7 @@
4
+@dircategory Miscellaneous
5
+@direntry
6
+* mydns: (mydns).               The MySQL based DNS-server.
7
+@end direntry
8
 
9
 @ifinfo
10
 This is the manual for MyDNS (version @value{PKGVERSION}, @value{PKGDATE}),
(-)mydns/files/patch-title.texi Thu Jan 1 01:00:00 1970 (-10 lines)
Lines 1-10 Link Here
1
--- doc/texi/en/title.texi.orig        Fri Nov 15 10:30:48 2002
2
+++ doc/texi/en/title.texi     Wed Dec 18 15:18:13 2002
3
@@ -1,3 +1,7 @@
4
+@dircategory Miscellaneous
5
+@direntry
6
+* mydns: (mydns).               The MySQL based DNS-server.
7
+@end direntry
8
 
9
 @ifinfo
10
 This is the manual for MyDNS (version @value{PKGVERSION}, @value{PKGDATE}),
(-)mydns/pkg-plist Mon Apr 7 13:20:56 2003 (-41 / +5 lines)
Lines 1-15 Link Here
1
bin/mydnscheck
2
bin/mydnsexport
3
bin/mydnsimport
1
etc/mydns.conf.sample
4
etc/mydns.conf.sample
2
etc/rc.d/mydns.sh.sample
5
etc/rc.d/mydns.sh.sample
3
@unexec install-info --delete %D/info/mydns.info %D/info/dir
6
@unexec install-info --delete %D/info/mydns.info %D/info/dir
4
info/mydns.info
7
info/mydns.info
5
@exec install-info %D/info/mydns.info %D/info/dir
8
@exec install-info %D/info/mydns.info %D/info/dir
6
bin/mydnscheck
9
sbin/mydns
7
bin/mydnsexport
8
bin/mydnsimport
9
share/locale/es/LC_MESSAGES/mydns.mo
10
share/locale/es/LC_MESSAGES/mydns.mo
10
share/locale/pt_BR/LC_MESSAGES/mydns.mo
11
share/locale/fr/LC_MESSAGES/mydns.mo
11
share/locale/fr/LC_MESSAGES/mydns.mo
12
sbin/mydns
12
share/locale/pt_BR/LC_MESSAGES/mydns.mo
13
%%PORTDOCS%%share/doc/mydns/AUTHORS
13
%%PORTDOCS%%share/doc/mydns/AUTHORS
14
%%PORTDOCS%%share/doc/mydns/COPYING
14
%%PORTDOCS%%share/doc/mydns/COPYING
15
%%PORTDOCS%%share/doc/mydns/ChangeLog
15
%%PORTDOCS%%share/doc/mydns/ChangeLog
Lines 19-59 Link Here
19
%%PORTDOCS%%share/doc/mydns/TODO
19
%%PORTDOCS%%share/doc/mydns/TODO
20
%%PORTDOCS%%share/doc/mydns/contrib/README
20
%%PORTDOCS%%share/doc/mydns/contrib/README
21
%%PORTDOCS%%share/doc/mydns/contrib/admin.php
21
%%PORTDOCS%%share/doc/mydns/contrib/admin.php
22
%%PORTDOCS%%share/doc/mydns/html/Building-the-source.html
23
%%PORTDOCS%%share/doc/mydns/html/Cache-options.html
24
%%PORTDOCS%%share/doc/mydns/html/Caching.html
25
%%PORTDOCS%%share/doc/mydns/html/Configuration.html
26
%%PORTDOCS%%share/doc/mydns/html/Creating-mydns.conf.html
27
%%PORTDOCS%%share/doc/mydns/html/Database-options.html
28
%%PORTDOCS%%share/doc/mydns/html/Database.html
29
%%PORTDOCS%%share/doc/mydns/html/GNU-Free-Documentation-License.html
30
%%PORTDOCS%%share/doc/mydns/html/General-options.html
31
%%PORTDOCS%%share/doc/mydns/html/Index.html
32
%%PORTDOCS%%share/doc/mydns/html/Installation.html
33
%%PORTDOCS%%share/doc/mydns/html/Introduction.html
34
%%PORTDOCS%%share/doc/mydns/html/Load-balancing.html
35
%%PORTDOCS%%share/doc/mydns/html/Misc-options.html
36
%%PORTDOCS%%share/doc/mydns/html/Optional-columns.html
37
%%PORTDOCS%%share/doc/mydns/html/Preparing-the-database.html
38
%%PORTDOCS%%share/doc/mydns/html/RFC-1034.html
39
%%PORTDOCS%%share/doc/mydns/html/References.html
40
%%PORTDOCS%%share/doc/mydns/html/Round-robin.html
41
%%PORTDOCS%%share/doc/mydns/html/Server.html
42
%%PORTDOCS%%share/doc/mydns/html/Signals.html
43
%%PORTDOCS%%share/doc/mydns/html/TCP-support.html
44
%%PORTDOCS%%share/doc/mydns/html/Troubleshooting.html
45
%%PORTDOCS%%share/doc/mydns/html/Utilities.html
46
%%PORTDOCS%%share/doc/mydns/html/Zone-transfers.html
47
%%PORTDOCS%%share/doc/mydns/html/any.active.html
48
%%PORTDOCS%%share/doc/mydns/html/in-addr.arpa.html
49
%%PORTDOCS%%share/doc/mydns/html/index.html
50
%%PORTDOCS%%share/doc/mydns/html/mydnscheck.html
51
%%PORTDOCS%%share/doc/mydns/html/mydnsexport.html
52
%%PORTDOCS%%share/doc/mydns/html/mydnsimport.html
53
%%PORTDOCS%%share/doc/mydns/html/ptr-table.html
54
%%PORTDOCS%%share/doc/mydns/html/rr-table.html
55
%%PORTDOCS%%share/doc/mydns/html/soa-table.html
56
%%PORTDOCS%%share/doc/mydns/html/soa.xfer.html
57
%%PORTDOCS%%@dirrm share/doc/mydns/html
58
%%PORTDOCS%%@dirrm share/doc/mydns/contrib
22
%%PORTDOCS%%@dirrm share/doc/mydns/contrib
59
%%PORTDOCS%%@dirrm share/doc/mydns
23
%%PORTDOCS%%@dirrm share/doc/mydns

Return to bug 50676