From owner-svn-ports-all@freebsd.org Mon Jan 2 21:07:36 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 079A1C9C766; Mon, 2 Jan 2017 21:07:36 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 C8CD1109A; Mon, 2 Jan 2017 21:07:35 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v02L7YLH098120; Mon, 2 Jan 2017 21:07:34 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v02L7YH6098115; Mon, 2 Jan 2017 21:07:34 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201701022107.v02L7YH6098115@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Mon, 2 Jan 2017 21:07:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430410 - in head/net-mgmt/arpalert: . 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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2017 21:07:36 -0000 Author: hrs Date: Mon Jan 2 21:07:34 2017 New Revision: 430410 URL: https://svnweb.freebsd.org/changeset/ports/430410 Log: - Add LICENSE. - Strip binaries. - Regenerate patch files by make makepatch. Added: head/net-mgmt/arpalert/files/patch-install.sh.in (contents, props changed) Modified: head/net-mgmt/arpalert/Makefile head/net-mgmt/arpalert/files/patch-arpalert.c head/net-mgmt/arpalert/files/patch-macname.h head/net-mgmt/arpalert/files/patch-module_example__Makefile Modified: head/net-mgmt/arpalert/Makefile ============================================================================== --- head/net-mgmt/arpalert/Makefile Mon Jan 2 21:00:18 2017 (r430409) +++ head/net-mgmt/arpalert/Makefile Mon Jan 2 21:07:34 2017 (r430410) @@ -3,12 +3,15 @@ PORTNAME= arpalert PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.arpalert.org/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= hrs@FreeBSD.org COMMENT= ARP traffic monitoring +LICENSE= GPLv2 + GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var ALL_TARGET= ${PORTNAME} Modified: head/net-mgmt/arpalert/files/patch-arpalert.c ============================================================================== --- head/net-mgmt/arpalert/files/patch-arpalert.c Mon Jan 2 21:00:18 2017 (r430409) +++ head/net-mgmt/arpalert/files/patch-arpalert.c Mon Jan 2 21:07:34 2017 (r430410) @@ -1,6 +1,6 @@ ---- arpalert.c.orig 2008-04-01 03:36:42.000000000 +0900 -+++ arpalert.c 2009-10-21 19:45:53.000000000 +0900 -@@ -179,6 +179,12 @@ +--- arpalert.c.orig 2011-11-08 19:36:51 UTC ++++ arpalert.c +@@ -179,6 +179,12 @@ int main(int argc, char **argv){ if(cur_timeout.tv_sec != -1){ time_sous(&cur_timeout, ¤t_t, &timeout); @@ -13,7 +13,7 @@ // prevent negative timeout if(timeout.tv_sec < 0){ timeout.tv_usec = 0; -@@ -188,6 +194,12 @@ +@@ -188,6 +194,12 @@ int main(int argc, char **argv){ timeout.tv_usec += 10000; tmout = &timeout; @@ -26,5 +26,3 @@ // if no timeout } else { tmout = NULL; - - Added: head/net-mgmt/arpalert/files/patch-install.sh.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/arpalert/files/patch-install.sh.in Mon Jan 2 21:07:34 2017 (r430410) @@ -0,0 +1,23 @@ +--- install.sh.in.orig 2011-11-08 19:36:51 UTC ++++ install.sh.in +@@ -33,16 +33,16 @@ mkdir -p ${DESTDIR}${includedir} + mkdir -p ${DESTDIR}${mandir}/man8 + + # install man +-cp -f doc/arpalert.8 ${DESTDIR}${mandir}/man8 ++install -m 0444 doc/arpalert.8 ${DESTDIR}${mandir}/man8 + + # copy oui list +-cp -f etc/oui.txt ${DESTDIR}${config_dir} ++install -m 0444 etc/oui.txt ${DESTDIR}${config_dir} + + # copy API +-cp -f api/arpalert.h ${DESTDIR}${includedir} ++install -m 0444 api/arpalert.h ${DESTDIR}${includedir} + + # insall binary +-cp -f arpalert ${DESTDIR}${sbindir} ++install -s -m 0555 arpalert ${DESTDIR}${sbindir} + + # if doesn't exist conf + if [ ! -f ${DESTDIR}${config_dir}/arpalert.conf ]; then Modified: head/net-mgmt/arpalert/files/patch-macname.h ============================================================================== --- head/net-mgmt/arpalert/files/patch-macname.h Mon Jan 2 21:00:18 2017 (r430409) +++ head/net-mgmt/arpalert/files/patch-macname.h Mon Jan 2 21:07:34 2017 (r430410) @@ -1,5 +1,5 @@ ---- macname.h.orig Sun Dec 10 22:52:45 2006 -+++ macname.h Sun Dec 10 22:53:04 2006 +--- macname.h.orig 2011-11-08 19:36:51 UTC ++++ macname.h @@ -7,6 +7,7 @@ #ifndef __MACNAME_H__ #define __MACNAME_H__ Modified: head/net-mgmt/arpalert/files/patch-module_example__Makefile ============================================================================== --- head/net-mgmt/arpalert/files/patch-module_example__Makefile Mon Jan 2 21:00:18 2017 (r430409) +++ head/net-mgmt/arpalert/files/patch-module_example__Makefile Mon Jan 2 21:07:34 2017 (r430410) @@ -1,5 +1,5 @@ ---- module_example/Makefile.orig 2008-04-01 02:36:42.000000000 +0800 -+++ module_example/Makefile 2011-09-05 16:49:33.000000000 +0800 +--- module_example/Makefile.orig 2011-11-08 19:36:51 UTC ++++ module_example/Makefile @@ -1,8 +1,8 @@ # Copyright (c) 2005-2010 Thierry FOURNIER # $Id: Makefile 690 2008-03-31 18:36:43Z $