Date: Tue, 3 Jun 2003 22:23:33 +1000 (EST) From: Steven Honson <shonson@isoproplex.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Steven Honson <shonson@isoproplex.net> Subject: ports/52891: Maintainer Update: net/dnsmasq IPv6 Fix Message-ID: <200306031223.h53CNX2S050152@omega.enumerati.org> Resent-Message-ID: <200306031230.h53CUG8m025755@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52891 >Category: ports >Synopsis: Maintainer Update: net/dnsmasq IPv6 Fix >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: Tue Jun 03 05:30:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Steven Honson >Release: FreeBSD 5.0-RELEASE i386 >Organization: Steven Honson >Environment: System: FreeBSD 5.0-RELEASE >Description: IPv6 support is now automatically enabled if IPv6 is available. Changed the way libio.h is disabled. >How-To-Repeat: >Fix: Not sure about exact method to submit port update, im rather new at this :) I hope the following is ok. --- shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # dnsmasq # dnsmasq/files # dnsmasq/files/patch-dnsmasq.c # dnsmasq/files/patch-dnsmasq.h # dnsmasq/Makefile # dnsmasq/distinfo # dnsmasq/pkg-descr # dnsmasq/pkg-plist # echo c - dnsmasq mkdir -p dnsmasq > /dev/null 2>&1 echo c - dnsmasq/files mkdir -p dnsmasq/files > /dev/null 2>&1 echo x - dnsmasq/files/patch-dnsmasq.c sed 's/^X//' >dnsmasq/files/patch-dnsmasq.c << 'END-of-dnsmasq/files/patch-dnsmasq.c' X--- dnsmasq.c.orig Tue Jun 3 21:37:03 2003 X+++ dnsmasq.c Tue Jun 3 21:37:37 2003 X@@ -80,6 +80,7 @@ X X #ifdef HAVE_IPV6 X if ((peerfd6 = socket(AF_INET6, SOCK_DGRAM, 0)) == -1 && X+ errno != EPROTONOSUPPORT && X errno != EAFNOSUPPORT && X errno != EINVAL) X die("dnsmasq: cannot create IPv6 socket: %s", NULL); END-of-dnsmasq/files/patch-dnsmasq.c echo x - dnsmasq/files/patch-dnsmasq.h sed 's/^X//' >dnsmasq/files/patch-dnsmasq.h << 'END-of-dnsmasq/files/patch-dnsmasq.h' X--- dnsmasq.h.orig Tue Jun 3 21:36:32 2003 X+++ dnsmasq.h Tue Jun 3 21:50:57 2003 X@@ -16,7 +16,9 @@ X #include <sys/types.h> X #include <netinet/in.h> X /* and this for C library versions */ X-#include <libio.h> X+#if defined(__linux__) X+#include <libio.h> X+#endif X X #include "config.h" X END-of-dnsmasq/files/patch-dnsmasq.h echo x - dnsmasq/Makefile sed 's/^X//' >dnsmasq/Makefile << 'END-of-dnsmasq/Makefile' X# New ports collection makefile for: dnsmasq X# Date created: 1 June 2003 X# Whom: Steven Honson <shonson@isoproplex.net> X# X# $FreeBSD$ X# X XPORTNAME= dnsmasq XPORTVERSION= 1.12 XCATEGORIES= net XMASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ X XMAINTAINER= shonson@isoproplex.net XCOMMENT= A caching DNS forwarder X XMAN8= dnsmasq.8 X X.include <bsd.port.mk> END-of-dnsmasq/Makefile echo x - dnsmasq/distinfo sed 's/^X//' >dnsmasq/distinfo << 'END-of-dnsmasq/distinfo' XMD5 (dnsmasq-1.12.tar.gz) = 41f4ef37bb38e7b50430d00de92d5789 END-of-dnsmasq/distinfo echo x - dnsmasq/pkg-descr sed 's/^X//' >dnsmasq/pkg-descr << 'END-of-dnsmasq/pkg-descr' XDnsmasq is a caching DNS forwarder designed to provide DNS service on a Xsmall network. It is targeted at home networks using NAT and connected to Xthe internet via a modem, cable-modem or ADSL connection but would be a Xgood choice for any small network where low resource use and ease of Xconfiguration are important. X XWWW: http://www.thekelleys.org.uk/dnsmasq/doc.html X X- Steven Honson Xshonson@isoproplex.net END-of-dnsmasq/pkg-descr echo x - dnsmasq/pkg-plist sed 's/^X//' >dnsmasq/pkg-plist << 'END-of-dnsmasq/pkg-plist' Xsbin/dnsmasq END-of-dnsmasq/pkg-plist exit --- shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306031223.h53CNX2S050152>