aboutsummaryrefslogtreecommitdiff
path: root/dns/firedns
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2002-08-22 03:39:12 +0000
committerKevin Lo <kevlo@FreeBSD.org>2002-08-22 03:39:12 +0000
commitd7bf9954389e328ff9ce2e17606a7552c06418a4 (patch)
treec73893d9a6e1b64dbe005cc39cd9eedc4eac3e32 /dns/firedns
parent3dda76e86cf100d6468e041f25c8c58a2def6371 (diff)
downloadports-d7bf9954389e328ff9ce2e17606a7552c06418a4.tar.gz
ports-d7bf9954389e328ff9ce2e17606a7552c06418a4.zip
Notes
Diffstat (limited to 'dns/firedns')
-rw-r--r--dns/firedns/Makefile25
-rw-r--r--dns/firedns/distinfo2
-rw-r--r--dns/firedns/files/patch-configure78
3 files changed, 95 insertions, 10 deletions
diff --git a/dns/firedns/Makefile b/dns/firedns/Makefile
index 043e80106fcb..e46c0cc651a1 100644
--- a/dns/firedns/Makefile
+++ b/dns/firedns/Makefile
@@ -6,20 +6,27 @@
#
PORTNAME= firedns
-PORTVERSION= 0.1.17
-CATEGORIES= net
-MASTER_SITES= http://ares.penguinhosting.net/~ian/projects/ \
+PORTVERSION= 0.1.28
+PORTREVISION= 1
+CATEGORIES= net
+MASTER_SITES= http://ares.penguinhosting.net/~ian/projects/ \
http://www.wa.apana.org.au/~dean/sources/ \
ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
+DISTNAME= firedns
+EXTRACT_SUFX= -0.1.28.tar.gz
-MAINTAINER= dean@odyssey.apana.org.au
+MAINTAINER= dean@odyssey.apana.org.au
-WRKSRC= ${WRKDIR}/${PORTNAME}
-INSTALLS_SHLIB= yes
+BUILD_DEPENDS= ${LOCALBASE}/include/firestring.h:${PORTSDIR}/misc/firestring
-MAN3= firedns_aton4.3 firedns_aton6.3 firedns_getip4.3 \
- firedns_getip6.3 firedns_getmx.3 firedns_getname4.3 \
- firedns_getname6.3 firedns_getresult.3 firedns_gettxt.3 \
+GNU_CONFIGURE= yes
+
+INSTALL_SHLIBS= yes
+
+MAN3= firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
+ firedns_getip4.3 firedns_getip6.3 firedns_getmx.3 \
+ firedns_getname4.3 firedns_getname6.3 \
+ firedns_getresult.3 firedns_gettxt.3 \
firedns_ntoa4.3 firedns_ntoa6.3 firedns_resolveip4.3 \
firedns_resolveip6.3 firedns_resolvemx.3 \
firedns_resolvename4.3 firedns_resolvename6.3 \
diff --git a/dns/firedns/distinfo b/dns/firedns/distinfo
index 343d5963593e..a54f92c995ee 100644
--- a/dns/firedns/distinfo
+++ b/dns/firedns/distinfo
@@ -1 +1 @@
-MD5 (firedns-0.1.17.tar.gz) = 99584b358995d34dc95a814f9a634730
+MD5 (firedns-0.1.28.tar.gz) = e282b325b751593939af35b117e2939d
diff --git a/dns/firedns/files/patch-configure b/dns/firedns/files/patch-configure
new file mode 100644
index 000000000000..a95dd6e90017
--- /dev/null
+++ b/dns/firedns/files/patch-configure
@@ -0,0 +1,78 @@
+--- configure.old Thu Aug 22 10:31:09 2002
++++ configure Thu Aug 22 10:35:27 2002
+@@ -518,33 +518,33 @@
+
+ $ECHO -n " adding rule to install binaries..."
+ $ECHO "install-binaries: $BINARIES" >> Makefile
+-$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(BINDIR)" >> Makefile
++$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/bin" >> Makefile
+ $ECHO "done"
+ for BINARY in $BINARIES; do
+ $ECHO -n " adding rule to install binary $BINARY..."
+- $ECHO " install -m 0755 -o \$(INSTALL_USER) $BINARY \$(BINDIR)" >> Makefile
++ $ECHO " install -m 0755 -o \$(INSTALL_USER) $BINARY \$(PREFIX)/bin" >> Makefile
+ $ECHO "done"
+ done;
+ $ECHO >> Makefile
+
+ $ECHO -n " adding rule to install static libraries..."
+ $ECHO "install-static: $STATIC" >> Makefile
+-$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
++$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
+ $ECHO "done"
+ for LIBRARY in $STATIC; do
+ $ECHO -n " adding rule to install static library $LIBRARY..."
+- $ECHO " install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
++ $ECHO " install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
+ $ECHO "done"
+ done;
+ $ECHO >> Makefile
+
+ $ECHO -n " adding rule to install shared libraries..."
+ $ECHO "install-shared: $STATIC" >> Makefile
+-$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
++$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
+ $ECHO "done"
+ for LIBRARY in $SHARED; do
+ $ECHO -n " adding rule to install shared library $LIBRARY..."
+- $ECHO " install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
++ $ECHO " install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
+ $ECHO "done"
+ done;
+ $ECHO >> Makefile
+@@ -561,10 +561,10 @@
+ $ECHO "no firemake.headers found"
+ fi
+ $ECHO "install-headers: $HEADERS" >> Makefile
+-$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(INCLUDEDIR)" >> Makefile
++$ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/include" >> Makefile
+ for HEADER in $HEADERS; do
+ $ECHO -n " adding rule to install header $HEADER..."
+- $ECHO " install -m 0644 -o \$(INSTALL_USER) $HEADER \$(INCLUDEDIR)" >> Makefile
++ $ECHO " install -m 0644 -o \$(INSTALL_USER) $HEADER \$(PREFIX)/include" >> Makefile
+ $ECHO "done"
+ done;
+ $ECHO >> Makefile
+@@ -576,8 +576,8 @@
+ LS=`ls man/*.$SECTION 2>>configure.log`
+ if test "$LS" != ""; then
+ $ECHO "man/*.$SECTION" >> Makefile
+- $ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(MANDIR)/man$SECTION" >> Makefile
+- $ECHO " install -m 0644 -o \$(INSTALL_USER) man/*.$SECTION \$(MANDIR)/man$SECTION" >> Makefile
++ $ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/man/man$SECTION" >> Makefile
++ $ECHO " install -m 0644 -o \$(INSTALL_USER) man/*.$SECTION \$(PREFIX)/man/man$SECTION" >> Makefile
+ $ECHO "done"
+ else
+ $ECHO >> Makefile
+@@ -602,9 +602,9 @@
+ $ECHO -n "conf/$CONF " >> Makefile
+ done
+ $ECHO >> Makefile
+- $ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(CONFDIR)" >> Makefile
++ $ECHO " install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/etc" >> Makefile
+ for CONF in $CONFS; do
+- $ECHO " if test ! -f \$(CONFDIR)/$CONF; then install -m 0644 -o \$(INSTALL_USER) conf/$CONF \$(CONFDIR); fi" >> Makefile
++ $ECHO " if test ! -f \$(PREFIX)/etc; then install -m 0644 -o \$(INSTALL_USER) conf/$CONF \$(CONFDIR); fi" >> Makefile
+ done
+ $ECHO "done"
+ else