From owner-svn-ports-head@FreeBSD.ORG Sun Jun 7 13:13:55 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13470217; Sun, 7 Jun 2015 13:13:55 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E869A1641; Sun, 7 Jun 2015 13:13:54 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t57DDsUa045264; Sun, 7 Jun 2015 13:13:54 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t57DDrcD045260; Sun, 7 Jun 2015 13:13:53 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201506071313.t57DDrcD045260@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Sun, 7 Jun 2015 13:13:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388697 - in head/net-mgmt/choparp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 13:13:55 -0000 Author: garga Date: Sun Jun 7 13:13:53 2015 New Revision: 388697 URL: https://svnweb.freebsd.org/changeset/ports/388697 Log: - Regenerate patches with make makepatch to silence portlint - Take maintainership Sponsored by: Netgate Modified: head/net-mgmt/choparp/Makefile head/net-mgmt/choparp/files/patch-Makefile head/net-mgmt/choparp/files/patch-choparp.8 head/net-mgmt/choparp/files/patch-choparp.c Modified: head/net-mgmt/choparp/Makefile ============================================================================== --- head/net-mgmt/choparp/Makefile Sun Jun 7 13:13:37 2015 (r388696) +++ head/net-mgmt/choparp/Makefile Sun Jun 7 13:13:53 2015 (r388697) @@ -7,7 +7,7 @@ PORTREVISION= 4 CATEGORIES= net-mgmt MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= garga@FreeBSD.org COMMENT= Simple proxy arp daemon LICENSE= BSD3CLAUSE Modified: head/net-mgmt/choparp/files/patch-Makefile ============================================================================== --- head/net-mgmt/choparp/files/patch-Makefile Sun Jun 7 13:13:37 2015 (r388696) +++ head/net-mgmt/choparp/files/patch-Makefile Sun Jun 7 13:13:53 2015 (r388697) @@ -1,5 +1,5 @@ ---- /dev/null Tue Oct 7 23:33:35 1997 -+++ Makefile Tue Oct 7 23:42:51 1997 +--- Makefile.orig 2015-06-07 13:12:33 UTC ++++ Makefile @@ -0,0 +1,11 @@ +PROG= choparp +MAN8= choparp.8 Modified: head/net-mgmt/choparp/files/patch-choparp.8 ============================================================================== --- head/net-mgmt/choparp/files/patch-choparp.8 Sun Jun 7 13:13:37 2015 (r388696) +++ head/net-mgmt/choparp/files/patch-choparp.8 Sun Jun 7 13:13:53 2015 (r388697) @@ -1,5 +1,5 @@ ---- choparp.8.orig 2002-11-08 07:36:03.000000000 +0900 -+++ choparp.8 2010-05-04 20:39:28.291199414 +0900 +--- choparp.8.orig 2002-11-07 22:36:03 UTC ++++ choparp.8 @@ -34,7 +34,8 @@ .Nm choparp .Nd cheap and omitted proxy ARP @@ -19,7 +19,7 @@ It watches ARP request packets visible on the interface specified by argument .Ar if_name , and sends proxy ARP reply to the sender if the ARP request queries the -@@ -52,7 +53,7 @@ +@@ -52,7 +53,7 @@ for the network specified by .Ar net_addr Ns / Ar net_mask . .Pp .Ar mac_addr @@ -28,7 +28,7 @@ It is normally the address of .Ar if_name . The format of -@@ -72,7 +73,7 @@ +@@ -72,7 +73,7 @@ or be a 32 bit hexadecimal value startin .Dq 0x .Pq for example Ad 0x858a0186 . .Ar net_mask @@ -37,7 +37,7 @@ or alternatively as a mask length. The following address specifications are therefore equivalent: .Bl -item -offset indent -@@ -89,6 +90,16 @@ +@@ -89,6 +90,16 @@ Addresses can be .Em excluded by preceding them with .Fl Modified: head/net-mgmt/choparp/files/patch-choparp.c ============================================================================== --- head/net-mgmt/choparp/files/patch-choparp.c Sun Jun 7 13:13:37 2015 (r388696) +++ head/net-mgmt/choparp/files/patch-choparp.c Sun Jun 7 13:13:53 2015 (r388697) @@ -1,5 +1,5 @@ ---- choparp.c.orig 2002-11-08 07:36:03.000000000 +0900 -+++ choparp.c 2010-05-04 20:39:28.279310506 +0900 +--- choparp.c.orig 2002-11-07 22:36:03 UTC ++++ choparp.c @@ -42,6 +42,7 @@ #include #include @@ -8,7 +8,7 @@ #include #include #include -@@ -75,6 +76,7 @@ +@@ -75,6 +76,7 @@ struct cidr { struct cidr *targets = NULL, *excludes = NULL; u_char target_mac[ETHER_ADDR_LEN]; /* target MAC address */ @@ -16,7 +16,7 @@ /* ARP filter program -@@ -239,6 +241,16 @@ +@@ -239,6 +241,16 @@ checkarp(char *arpbuf){ fprintf(stderr,"checkarp: WARNING: received unknown type ARP request.\n"); return(0); } @@ -33,7 +33,7 @@ target_ip = ntohl(*(u_int32_t *)(arp->arp_tpa)); return match(target_ip, targets) && !match(target_ip, excludes); } -@@ -280,13 +292,22 @@ +@@ -280,13 +292,22 @@ loop(int fd, char *buf, size_t buflen){ char *rframe; char *sframe; size_t frame_len; @@ -60,7 +60,7 @@ if (r < 0) { if (errno == EINTR) -@@ -295,7 +316,7 @@ +@@ -295,7 +316,7 @@ loop(int fd, char *buf, size_t buflen){ return; } @@ -69,7 +69,7 @@ if (rlen < 0) { if (errno == EINTR) continue; -@@ -307,7 +328,7 @@ +@@ -307,7 +328,7 @@ loop(int fd, char *buf, size_t buflen){ while((rframe = getarp(p, rlen, &nextp, &nextlen)) != NULL){ if (checkarp(rframe)){ sframe = gen_arpreply(rframe, &frame_len); @@ -78,7 +78,7 @@ } p = nextp; rlen = nextlen; -@@ -362,13 +383,13 @@ +@@ -362,13 +383,13 @@ atoip(char *buf, u_int32_t *ip_addr){ void usage(void){ @@ -94,7 +94,7 @@ char *buf, *ifname; struct cidr **targets_tail = &targets, **excludes_tail = &excludes; #define APPEND(LIST,ADDR,MASK) \ -@@ -381,13 +402,24 @@ +@@ -381,13 +402,24 @@ main(int argc, char **argv){ } while (0) size_t buflen; @@ -123,7 +123,7 @@ while (argc > 0) { u_int32_t addr, mask = ~0; -@@ -437,6 +469,9 @@ +@@ -437,6 +469,9 @@ main(int argc, char **argv){ #endif if ((fd = openbpf(ifname, &buf, &buflen)) < 0) return(-1);