Here is an update to dnsmasq 2.58.

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/dnsmasq/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile    6 Mar 2011 11:19:53 -0000       1.19
+++ Makefile    1 Sep 2011 07:54:22 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=       caching DNS forwarder and DHCP server
 
-DISTNAME=      dnsmasq-2.57
+DISTNAME=      dnsmasq-2.58
 CATEGORIES=    net
 MASTER_SITES=  http://www.thekelleys.org.uk/dnsmasq/
 
@@ -10,16 +10,17 @@ MAINTAINER= Rui Reis <[email protected]>
 
 HOMEPAGE=      http://www.thekelleys.org.uk/dnsmasq/doc.html
 
-# GPLv2/GPLv3
+# GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=               c
+
+WANTLIB=       c
 
 MAKE_ENV=      CC="${CC}"
+MAKE_FLAGS=    CFLAGS="${CFLAGS} -Wall -W"
 
-USE_GROFF=     Yes
 NO_REGRESS=    Yes
 
 pre-build:
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/dnsmasq/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo    6 Mar 2011 11:19:53 -0000       1.14
+++ distinfo    29 Aug 2011 21:34:53 -0000
@@ -1,5 +1,5 @@
-MD5 (dnsmasq-2.57.tar.gz) = 0Q+utAlxfq6UcY13FspjpA==
-RMD160 (dnsmasq-2.57.tar.gz) = +pRxfU4MfQldc0oYp3uqRt3CzVQ=
-SHA1 (dnsmasq-2.57.tar.gz) = N+NlZPis/ZSvBFX6KkPa+fIzi3Y=
-SHA256 (dnsmasq-2.57.tar.gz) = wuDHuCEi1jaTOyihwo5rzLbarUkWLnU0tkGzwzQP+K4=
-SIZE (dnsmasq-2.57.tar.gz) = 456035
+MD5 (dnsmasq-2.58.tar.gz) = FMXIHeuzJK3CYduXFzD0xg==
+RMD160 (dnsmasq-2.58.tar.gz) = G2U/EUcvOp4BiEvfIZ6zwlQQXJU=
+SHA1 (dnsmasq-2.58.tar.gz) = kVC/EQ7dOddDk5m8TCM4UidceAE=
+SHA256 (dnsmasq-2.58.tar.gz) = 1fZO1l8rmk24RtbaXWkD7APoaSTAniMvQse2O8v6O+Y=
+SIZE (dnsmasq-2.58.tar.gz) = 473693
Index: patches/patch-Makefile
===================================================================
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile      10 Jan 2011 22:08:26 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.1 2011/01/10 22:08:26 ajacoutot Exp $
---- Makefile.orig      Tue Dec 28 18:57:01 2010
-+++ Makefile   Tue Dec 28 18:57:18 2010
-@@ -24,7 +24,7 @@ MSGMERGE = msgmerge
- MSGFMT = msgfmt
- XGETTEXT = xgettext
- 
--CFLAGS = -Wall -W -O2
-+CFLAGS += -Wall -W
- 
- #################################################################
- 
Index: patches/patch-man_dnsmasq_8
===================================================================
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-man_dnsmasq_8,v
retrieving revision 1.9
diff -u -p -r1.9 patch-man_dnsmasq_8
--- patches/patch-man_dnsmasq_8 6 Mar 2011 11:19:53 -0000       1.9
+++ patches/patch-man_dnsmasq_8 29 Aug 2011 21:35:44 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-man_dnsmasq_8,v 1.9 2011/03/06 11:19:53 sthen Exp $
---- man/dnsmasq.8.orig Sat Feb 12 16:12:13 2011
-+++ man/dnsmasq.8      Tue Feb 15 19:11:50 2011
+--- man/dnsmasq.8.orig Tue Aug  9 11:05:38 2011
++++ man/dnsmasq.8      Mon Aug 29 17:35:40 2011
 @@ -113,13 +113,12 @@ Specify an alternate path for dnsmasq to record its pr
  .TP
  .B \-u, --user=<username>
@@ -17,7 +17,7 @@ $OpenBSD: patch-man_dnsmasq_8,v 1.9 2011
  .TP
  .B \-v, --version
  Print the version number.
-@@ -1173,7 +1172,7 @@ with # are always skipped. This flag may be given on t
+@@ -1206,7 +1205,7 @@ with # are always skipped. This flag may be given on t
  line or in a configuration file.
  .SH CONFIG FILE
  At startup, dnsmasq reads
@@ -26,7 +26,7 @@ $OpenBSD: patch-man_dnsmasq_8,v 1.9 2011
  if it exists. (On
  FreeBSD, the file is 
  .I /usr/local/etc/dnsmasq.conf
-@@ -1480,7 +1479,7 @@ dnsmasq has no direct way of determining the charset i
+@@ -1524,7 +1523,7 @@ dnsmasq has no direct way of determining the charset i
  assume that it is the system default. 
   
  .SH FILES
Index: patches/patch-src_bpf_c
===================================================================
RCS file: patches/patch-src_bpf_c
diff -N patches/patch-src_bpf_c
--- patches/patch-src_bpf_c     6 Mar 2011 11:19:53 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-src_bpf_c,v 1.1 2011/03/06 11:19:53 sthen Exp $
---- src/bpf.c.orig     Wed Mar  2 17:42:32 2011
-+++ src/bpf.c  Wed Mar  2 17:42:43 2011
-@@ -35,6 +35,13 @@ static struct iovec ifreq = {
- #include <net/if_dl.h>
- #include <netinet/if_ether.h>
- 
-+#ifndef SA_SIZE
-+#define SA_SIZE(sa)                                             \
-+    (  (!(sa) || ((struct sockaddr *)(sa))->sa_len == 0) ?      \
-+        sizeof(long)            :                               \
-+        1 + ( (((struct sockaddr *)(sa))->sa_len - 1) | (sizeof(long) - 1) ) )
-+#endif
-+
- int arp_enumerate(void *parm, int (*callback)())
- {
-   int mib[6];
Index: patches/patch-src_dnsmasq_h
===================================================================
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-src_dnsmasq_h,v
retrieving revision 1.8
diff -u -p -r1.8 patch-src_dnsmasq_h
--- patches/patch-src_dnsmasq_h 6 Mar 2011 11:19:53 -0000       1.8
+++ patches/patch-src_dnsmasq_h 29 Aug 2011 21:37:01 -0000
@@ -1,7 +1,10 @@
 $OpenBSD: patch-src_dnsmasq_h,v 1.8 2011/03/06 11:19:53 sthen Exp $
---- src/dnsmasq.h.orig Thu Feb 17 10:30:15 2011
-+++ src/dnsmasq.h      Fri Feb 18 14:58:43 2011
-@@ -593,7 +593,7 @@ struct tftp_file {
+
+gcc2 fix to struct tftp_file
+
+--- src/dnsmasq.h.orig Tue Jun 28 12:08:53 2011
++++ src/dnsmasq.h      Thu Jul 14 17:02:11 2011
+@@ -596,7 +596,7 @@ struct tftp_file {
    off_t size;
    dev_t dev;
    ino_t inode;
Index: patches/patch-src_tftp_c
===================================================================
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-src_tftp_c,v
retrieving revision 1.9
diff -u -p -r1.9 patch-src_tftp_c
--- patches/patch-src_tftp_c    6 Mar 2011 11:19:53 -0000       1.9
+++ patches/patch-src_tftp_c    29 Aug 2011 21:37:07 -0000
@@ -1,10 +1,10 @@
 $OpenBSD: patch-src_tftp_c,v 1.9 2011/03/06 11:19:53 sthen Exp $
 
-gcc2 fixes to struct errmess, struct oackmess, struct datamess from kili
+gcc2 fixes to struct errmess, struct oackmess, struct datamess
 
---- src/tftp.c.orig    Tue Jan 18 17:23:57 2011
-+++ src/tftp.c Tue Feb 15 19:11:50 2011
-@@ -606,7 +606,7 @@ static ssize_t tftp_err(int err, char *packet, char *m
+--- src/tftp.c.orig    Tue Aug  9 08:41:48 2011
++++ src/tftp.c Mon Aug 29 17:35:40 2011
+@@ -611,7 +611,7 @@ static ssize_t tftp_err(int err, char *packet, char *m
  {
    struct errmess {
      unsigned short op, err;
@@ -13,7 +13,7 @@ gcc2 fixes to struct errmess, struct oac
    } *mess = (struct errmess *)packet;
    ssize_t ret = 4;
    char *errstr = strerror(errno);
-@@ -633,7 +633,7 @@ static ssize_t get_block(char *packet, struct tftp_tra
+@@ -638,7 +638,7 @@ static ssize_t get_block(char *packet, struct tftp_tra
        char *p;
        struct oackmess {
        unsigned short op;
@@ -22,7 +22,7 @@ gcc2 fixes to struct errmess, struct oac
        } *mess = (struct oackmess *)packet;
        
        p = mess->data;
-@@ -656,7 +656,7 @@ static ssize_t get_block(char *packet, struct tftp_tra
+@@ -661,7 +661,7 @@ static ssize_t get_block(char *packet, struct tftp_tra
        /* send data packet */
        struct datamess {
        unsigned short op, block;

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to