ports/57249: Maintainer port update: dns/mydns
Simon Dick
simond at irrelevant.org
Fri Sep 26 14:20:04 UTC 2003
>Number: 57249
>Category: ports
>Synopsis: Maintainer port update: dns/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: Fri Sep 26 07:20:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Simon Dick
>Release: FreeBSD 4.7-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD nelly.internal.irrelevant.org 4.7-RELEASE-p10 FreeBSD 4.7-RELEASE-p10 #0: Wed Jul 23 20:50:46 BST 2003 root at nelly.internal.irrelevant.org:/usr/obj/usr/src/sys/ELEPHANT i386
>Description:
Allow easy enabling of MyDNS alias feature (courtesy of David Phillips <david at geektech.com>)
and allow including of OpenSSL support for those with openssl enabled with MySQL
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/dns/mydns/Makefile mydns/Makefile
--- /usr/ports/dns/mydns/Makefile Fri Sep 5 05:54:35 2003
+++ mydns/Makefile Fri Sep 26 15:07:08 2003
@@ -7,7 +7,7 @@
PORTNAME= mydns
PORTVERSION= 0.10.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns databases
MASTER_SITES= http://mydns.bboy.net/download/
@@ -31,6 +31,14 @@
.include <bsd.port.pre.mk>
+.if defined (WITH_ALIAS)
+CONFIGURE_ARGS+=--enable-alias
+.endif
+
+.if defined (WITH_OPENSSL)
+CONFIGURE_ARGS+=--with-openssl
+.endif
+
.if defined (WITH_PGSQL)
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+=--without-mysql
@@ -46,6 +54,15 @@
LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client
.endif
.endif
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " WITH_PGSQL=yes Build with PostgreSQL support"
+ @${ECHO} " WITH_ALIAS=yes Enable server side aliases"
+ @${ECHO} " WITH_OPENSSL=yes Enable OpenSSL (needed if MySQL is linked with OpenSSL"
+ @${ECHO} ""
post-install:
@${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list