ports/61516: port update: dns/firedns to 0.9.7

Michael Ranner mranner at inode.at
Sun Jan 18 13:31:35 UTC 2004


>Number:         61516
>Category:       ports
>Synopsis:       port update: dns/firedns to 0.9.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 05:30:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Ranner <mranner at inode.at>
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD dwarf.jawa.at 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #4: Sat Nov 29 11:09:14 CET 2003 root at dwarf.jawa.at:/usr/src/sys/compile/DWARF i386


	
>Description:
	port update: dns/firedns to 0.9.7
>How-To-Repeat:
	cd /usr/ports/dns/firedns && patch <patch-firedns
>Fix:

--- patch-firedns begins here ---
diff -crN ../firedns.orig/Makefile ./Makefile
*** ../firedns.orig/Makefile	Sat Nov 15 20:23:50 2003
--- ./Makefile	Sun Jan 18 14:19:35 2004
***************
*** 6,14 ****
  #
  
  PORTNAME=	firedns
! PORTVERSION=	0.1.30
  CATEGORIES=	dns devel
! MASTER_SITES=	http://www.wa.apana.org.au/~dean/sources/ \
  		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
  DISTNAME=	${PORTNAME}
  EXTRACT_SUFX=	-${PORTVERSION}.tar.gz
--- 6,15 ----
  #
  
  PORTNAME=	firedns
! PORTVERSION=	0.9.7
  CATEGORIES=	dns devel
! MASTER_SITES=	http://firestuff.org/projects/ \
! 		http://www.wa.apana.org.au/~dean/sources/ \
  		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
  DISTNAME=	${PORTNAME}
  EXTRACT_SUFX=	-${PORTVERSION}.tar.gz
***************
*** 18,39 ****
  
  BUILD_DEPENDS=	${LOCALBASE}/include/firestring.h:${PORTSDIR}/misc/firestring
  
  HAS_CONFIGURE=	yes
  INSTALLS_SHLIB=	yes
  USE_REINPLACE=	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 \
! 		firedns_resolvetxt.3 libfiredns.3
! 
! post-patch:
! 	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
! 		${WRKSRC}/firemake.cflags ${WRKSRC}/firemake.ldflags
  
  post-install:
  	@cd ${PREFIX}/lib; ${MV} libfiredns.so libfiredns.so.0; \
--- 19,38 ----
  
  BUILD_DEPENDS=	${LOCALBASE}/include/firestring.h:${PORTSDIR}/misc/firestring
  
+ LIBDIR=			${PREFIX}/lib
  HAS_CONFIGURE=	yes
  INSTALLS_SHLIB=	yes
  USE_REINPLACE=	yes
  
  MAN3=		firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
  		firedns_getip4.3 firedns_getip6.3 firedns_getmx.3 \
! 		firedns_getmxlist.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_resolvemxlist.3 firedns_resolvename4.3 \
! 		firedns_resolvename6.3 firedns_resolvetxt.3 \
! 		libfiredns.3
  
  post-install:
  	@cd ${PREFIX}/lib; ${MV} libfiredns.so libfiredns.so.0; \
diff -crN ../firedns.orig/distinfo ./distinfo
*** ../firedns.orig/distinfo	Sat Nov  9 01:37:57 2002
--- ./distinfo	Sun Jan 18 13:16:52 2004
***************
*** 1 ****
! MD5 (firedns-0.1.30.tar.gz) = 0e18e14615036555183ee01b43fffd3c
--- 1 ----
! MD5 (firedns-0.9.7.tar.gz) = dd6fbf0e3a5fbdf5761c7139987d7657
diff -crN ../firedns.orig/files/patch-configure ./files/patch-configure
*** ../firedns.orig/files/patch-configure	Sat Nov  9 01:37:57 2002
--- ./files/patch-configure	Thu Jan  1 01:00:00 1970
***************
*** 1,78 ****
- --- configure.orig	Thu Oct 31 09:47:26 2002
- +++ configure	Thu Oct 31 10:30:36 2002
- @@ -534,33 +534,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
- @@ -577,10 +577,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
- @@ -592,8 +592,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
- @@ -618,9 +618,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/$CONF; then install -m 0644 -o \$(INSTALL_USER) conf/$CONF \$(PREFIX)/etc; fi" >> Makefile
-  	done
-  	$ECHO "done"
-  else
--- 0 ----
diff -crN ../firedns.orig/files/patch-firemake.libs ./files/patch-firemake.libs
*** ../firedns.orig/files/patch-firemake.libs	Fri Nov 15 23:59:19 2002
--- ./files/patch-firemake.libs	Thu Jan  1 01:00:00 1970
***************
*** 1,5 ****
- --- firemake.libs.orig	Sat Nov 16 10:00:14 2002
- +++ firemake.libs	Sat Nov 16 10:00:23 2002
- @@ -1 +1 @@
- --lfirestring -lpthread
- +-lfirestring -pthread
--- 0 ----
diff -crN ../firedns.orig/pkg-plist ./pkg-plist
*** ../firedns.orig/pkg-plist	Sat Nov  9 01:37:57 2002
--- ./pkg-plist	Sun Jan 18 13:32:09 2004
***************
*** 1,8 ****
  @comment $FreeBSD: ports/dns/firedns/pkg-plist,v 1.3 2002/11/09 00:37:57 edwin Exp $
  include/firedns.h
  lib/libfiredns.so
! lib/libfiredns.so.0
  lib/libfiredns.a
  bin/fdnsip
  bin/fdnstxt
  bin/fdnsname
--- 1,11 ----
  @comment $FreeBSD: ports/dns/firedns/pkg-plist,v 1.3 2002/11/09 00:37:57 edwin Exp $
  include/firedns.h
  lib/libfiredns.so
! lib/libfiredns.so.0.9
! lib/libfiredns.so.0.9.7
  lib/libfiredns.a
  bin/fdnsip
  bin/fdnstxt
  bin/fdnsname
+ bin/fdnsmx
+ bin/fdnsmxlist
--- patch-firedns ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list