aboutsummaryrefslogtreecommitdiff
path: root/dns/mydns-ng
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-02-11 22:35:34 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-02-11 22:35:34 +0000
commit9c902952a6724f9fdc8044664a26e214ed733e68 (patch)
tree598cc9bb411ce7cf78d3f93ed15870af03c84a79 /dns/mydns-ng
parent343608bb4112ee94ca8b506536c0dcc5e00b0055 (diff)
downloadports-9c902952a6724f9fdc8044664a26e214ed733e68.tar.gz
ports-9c902952a6724f9fdc8044664a26e214ed733e68.zip
Notes
Diffstat (limited to 'dns/mydns-ng')
-rw-r--r--dns/mydns-ng/Makefile17
-rw-r--r--dns/mydns-ng/distinfo3
-rw-r--r--dns/mydns-ng/pkg-message4
-rw-r--r--dns/mydns-ng/pkg-plist1
4 files changed, 14 insertions, 11 deletions
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile
index d367cc9eee53..f368d8af8420 100644
--- a/dns/mydns-ng/Makefile
+++ b/dns/mydns-ng/Makefile
@@ -6,18 +6,16 @@
#
PORTNAME= mydns
-PORTVERSION= 0.10.1
-PORTREVISION= 1
+PORTVERSION= 0.10.2
CATEGORIES= dns databases
MASTER_SITES= http://mydns.bboy.net/download/
MAINTAINER= ale@FreeBSD.org
COMMENT= DNS server designed to utilize the MySQL database
-LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc
+USE_ICONV= yes
USE_GETTEXT= yes
USE_LIBTOOL= yes
USE_BZIP2= yes
@@ -28,16 +26,18 @@ MAN8= mydns.8 mydnscheck.8 mydnsexport.8 mydnsimport.8 mydns-conf.8
DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO
-.if defined (WITH_ALIAS)
+.if defined(WITH_ALIAS)
CONFIGURE_ARGS+=--enable-alias
.endif
-.if defined (WITH_OPENSSL)
+.if defined(WITH_OPENSSL)
+USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-openssl
.endif
-.if defined (WITH_PGSQL)
-LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql-client
+.if defined(WITH_PGSQL)
+POSTGRESQL_PORT?= databases/postgresql-client
+LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+=--without-mysql
PKGNAMESUFFIX= -pg
.else
@@ -65,6 +65,7 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
@${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${DOCSDIR}/contrib/
+ @${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${DOCSDIR}/contrib/
@${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/
.endif
@${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample
diff --git a/dns/mydns-ng/distinfo b/dns/mydns-ng/distinfo
index a067c2a16413..b1ba954338c8 100644
--- a/dns/mydns-ng/distinfo
+++ b/dns/mydns-ng/distinfo
@@ -1 +1,2 @@
-MD5 (mydns-0.10.1.tar.bz2) = a931f7fdd3398dbd441ef8cce12793c6
+MD5 (mydns-0.10.2.tar.bz2) = 9f1c42b0e781caeb099eeef4de4cb18d
+SIZE (mydns-0.10.2.tar.bz2) = 536955
diff --git a/dns/mydns-ng/pkg-message b/dns/mydns-ng/pkg-message
index c76bb77b49ea..ba5c5b91050b 100644
--- a/dns/mydns-ng/pkg-message
+++ b/dns/mydns-ng/pkg-message
@@ -1,4 +1,4 @@
-
+**********************************************************************
To get MyDNS working you will need to do some configuration, first you
will need to create %%%PREFIX%%%/etc/mydns.conf based on the
installed sample file. Following that you will need to setup your
@@ -8,4 +8,4 @@ as a template.
If you're upgrading from a version before 0.9.12 then please read the
instructions at http://mydns.bboy.net/ptr.html before running MyDNS
-
+*********************************************************************
diff --git a/dns/mydns-ng/pkg-plist b/dns/mydns-ng/pkg-plist
index 6b5d1251db3e..ea9422735c43 100644
--- a/dns/mydns-ng/pkg-plist
+++ b/dns/mydns-ng/pkg-plist
@@ -17,6 +17,7 @@ share/locale/pt_BR/LC_MESSAGES/mydns.mo
%%PORTDOCS%%%%DOCSDIR%%/QUICKSTART.postgres
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/contrib/MyDNS.pm
%%PORTDOCS%%%%DOCSDIR%%/contrib/README
%%PORTDOCS%%%%DOCSDIR%%/contrib/admin.php
%%PORTDOCS%%%%DOCSDIR%%/contrib/stats.php