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

(-)mydns/Makefile (-24 / +23 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}/converters/libiconv
18
19
USE_LIBTOOL=	yes
16
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS+=	--with-confdir=${PREFIX}/etc --without-libiconv-prefix
21
CONFIGURE_ARGS+=--with-confdir=${PREFIX}/etc
18
USE_BZIP2=	yes
22
USE_BZIP2=	yes
19
USE_REINPLACE=	yes
23
USE_REINPLACE=	yes
20
24
Lines 23-65 Link Here
23
27
24
DOCS=	AUTHORS COPYING ChangeLog NEWS QUICKSTART README TODO
28
DOCS=	AUTHORS COPYING ChangeLog NEWS QUICKSTART README TODO
25
29
30
PKGMESSAGE=	${WRKDIR}/pkg-message
31
26
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
27
33
28
.if defined (WITH_PGSQL)
34
.if defined(WITH_PGSQL)
29
LIB_DEPENDS=	pq.2:${PORTSDIR}/databases/postgresql7
35
LIB_DEPENDS=	pq.3:${PORTSDIR}/databases/postgresql7
30
CONFIGURE_ARGS+=	--without-mysql
36
CONFIGURE_ARGS+=	--without-mysql
31
PKGNAMESUFFIX=		-pg
32
.else
37
.else
33
LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
38
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
34
CONFIGURE_ARGS+=	--without-pgsql
39
LIB_DEPENDS=    mysqlclient.10:${PORTSDIR}/databases/mysql323-client
35
PKGNAMESUFFIX=		-mysql
36
.endif
37
38
.if !defined(NOPORTDOCS)
39
USE_PERL5=	yes
40
.else
40
.else
41
pre-configure:
41
LIB_DEPENDS=	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
42
	@${REINPLACE_CMD} -E -e "s|^(all: vars manpages info) html-doc|\1|" \
42
.endif
43
		${WRKSRC}/doc/Makefile.in
43
CONFIGURE_ARGS+=	--without-pgsql
44
.endif
44
.endif
45
46
post-build:
47
	cd ${WRKSRC}/doc && ${MAKE} html
48
45
49
post-install:
46
post-install:
50
	@${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh
47
	@${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh \
51
	@${INSTALL_SCRIPT} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample
48
		> ${WRKDIR}/mydns.sh
49
	@${INSTALL_SCRIPT} ${WRKDIR}/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
62
	@${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample
59
	@${PREFIX}/sbin/mydns --dump-config > ${PREFIX}/etc/mydns.conf.sample
63
	@${SED} -e 's,%%%PREFIX%%%,${PREFIX},g' ${PKGMESSAGE}
60
	@${SED} 's|%%%PREFIX%%%|${PREFIX}|g' ${.CURDIR}/pkg-message \
61
		> ${PKGMESSAGE}
62
	@${CAT} ${PKGMESSAGE}
64
63
65
.include <bsd.port.post.mk>
64
.include <bsd.port.post.mk>
(-)mydns/distinfo (-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 (+10 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'
(-)mydns/files/patch-doc::texinfo::title.texi (+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 (-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 (-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 50668