Date: Mon, 2 Jan 2017 21:07:34 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> 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 Message-ID: <201701022107.v02L7YH6098115@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 $
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701022107.v02L7YH6098115>